Hi, I use SMTP Authentication Support 6.x-1.0-beta4 with PHPMailer 2.2.1, and smtp.gmail.com as the SMTP server.
The emails sent are from the SMTP username (xxx@gmail.com) instead of "E-mail from address" (xxx@mydomain.org) which is the same as email address in site information.
What else should I change?

Comments

adelecho’s picture

Component: Documentation » Code
akalata’s picture

I'm not sure that would be ideal, if it were possible.

I think that the "Username" field is included in case the SMTP login name is different from the full email address. In that case, the actual email address probably needs to be included so the module can construct valid email headers. I've been using Gmail and SMTP for over a year and this has been the only way I've been able to get it to work.

I recommend against trying to spoof the email system to send mail as @mydomain.org through @gmail.com -- that's a very quick way to get yourself flagged by spam and quarantine filters.

wundo’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Closing very old (dead) issues, if you think this is still relevant please re-open.