It seems that when someone sends me an email using my site contact form, the "From" address is actually the address that's in the SMTP authentication field when it should be the user's email address. (At least that's how it worked with the SMTP module.)

I've tested it with various email addresses and the results are the same. I have had a couple of people contact me via the contact form but there's not an email address that I can reply to.

Thank you for your help.

Comments

spangaroo’s picture

Title: no user email in contact form "From" field » no user email address when sending email with site contact form
smk-ka’s picture

Status: Active » Postponed (maintainer needs more info)

Are you using Google Mail? If so, please update to the latest 2.x development snapshot and tick the option "Always set 'Reply-To' address".

spangaroo’s picture

I upgraded to the latest dev version (phpmailer-6.x-3.x-dev) and checked the button as you suggested.

Then when sending email I got this error.

Fatal error: Call to undefined function libraries_get_path() in /var/aegir/platforms/drupal-6.16/sites/all/modules/phpmailer/phpmailer.module on line 224

Yes I'm using Google mail to manage email for this domain. All the other settings are correct and mail goes through as normal, just not the reply to address.

smk-ka’s picture

Please use the 2.x version, or install the Libraries API module which is required for the 3.x versions (I would suggest that you try downgrading first).

spangaroo’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

That seems to have done the trick. Thanks a lot.