Thats correct. Gmail replaces the From field with the account address the SMTP mail server is using for authentication.
On Sep 25, 4:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi there, > > I am using PHPMailer and gmail SMTP service to send email, and > blocked by the issue - From name got replaced by gmail address. > > I specified From and FromName while sending the email. In debugging, > the mail header includes the correct FromName and From address). > gmail succeeded to send this email. After check the email, the From > address is not what I specified. It is shown as the SMTP gmail > account. > > I am not sure if it is by design with gmail SMTP (I heard that gmail > replace it with gmail account). Does anyone know how to figure it out? > I'd appreciate it very much. > > Thanks, > Bo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---