<div dir="ltr"><br>First, please accept my apologies for responding to this after so many months. Some how i missed Tim&#39;s response, and today while searching for a solution once again in the Internet, i came across my own question and Tim&#39;s response..<br>
<br>Yes, the from field that i get in my email is not the one entered in the form. It is the email address of my organization&#39;s email account that is used to send all the emails.. e.g.: support@xyz.com... My emails are hosted on google apps, and my linux machine is running exim which is configured as a smart host that uses google apps email account to send the email messages..<br>
<br>That makes me think that perhaps google apps does not allow the from hearder to be changed... So when my drupal server with exim connects to gmail and uses a gmail account to send the message, even though drupal changed the from header to the email address in the contact form, gmail automatically replaces it with the gmail address for the gmail account that was authenticated and is being used to send the email message.. <br>
<br>Some one may ask why do i want to use gmail and not directly ask exim smtp to connect to the other smtps. Well, the global IP address that i have that smtp server will be using to send email is a home dsl ip, and major smtp servers like hotmail etc do not accept email for the range of IP that are for home etc.. Hence, i was forced to proxy through gmail smtp, but then now gmail does not allow me to change the from header.. Any solutions.. <br>
<br>Many Thanks..<br><br>-Nabil.<br><br><br><div class="gmail_quote">On Sat, Jul 11, 2009 at 8:15 PM, Tim Knittel <span dir="ltr">&lt;<a href="mailto:webdev@brandtim.com">webdev@brandtim.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nabil,<br>
<br>
The default is for the &#39;from&#39; field in the email that you receive to be the<br>
email address entered into the form. Are you getting something different?<br>
<br>
Tim Knittel<br>
<div><div></div><div class="h5"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [mailto:<a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>] On<br>
Behalf Of Nabil Malik<br>
Sent: Friday, July 10, 2009 6:31 AM<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Subject: Re: [support] Forum topic side-wide contact from not emailing the<br>
user&#39;s email while sending the email has been updated.<br>
<br>
<br>
Just for further clarification, I am getting the emails, however, i want<br>
the the contact module to include in the email body (of the email that I<br>
receive) the email address entered by the anonymous user in the form<br>
before submitting the form. This will enable me to contact back the<br>
anonymous user.<br>
<br>
Thanks,<br>
<br>
-Nabil.<br>
<br>
On Thu, 2009-07-09 at 20:51 +0300, Nabil Malik wrote:<br>
&gt; Dear Community,<br>
&gt;<br>
&gt; When some one (authenticated user or anonymous user) uses the site<br>
&gt; wide contact form, I do get the email, however, the email does not<br>
&gt; include the value entered in the email field (for anonymous user).. It<br>
&gt; only includes the subject, Name, and the Message. The problem is I<br>
&gt; cannot contact the anonymous users as I don&#39;t get their email address<br>
&gt; that they entered while submitting the form. Is the a way i can fix<br>
&gt; it.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; -Nabil.<br>
&gt;<br>
&gt;<br>
<br>
</div></div>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br></div>