Jack Commonw
Jack Commonw

Reputation: 395

Php mailer doesn't mail to google apps

I recently migrated my email accounts from a host to google apps. But since then my php mailer form on the website doesn't working anymore. It seems to keep delivering the email to the old mailbox and does not seem to look up the DNS globally, so it doesn't deliver the email to google apps.

Is there any way to fix this without configuring the smtp online?

EDIt

Let me explain it this way: I am able to read my mails from www.domain.com in my gmail account via google apps. So if i send to [email protected] I see it in my gmail overview. But! Mails with my phpmailerform to [email protected] are not visible in my gmail, altough I still can see them on my webmail. It somehow recognizes it is the same domain and sends it locally I suppose... That is the thing I want to avoid. Hope it is clear now? :)

Upvotes: 0

Views: 337

Answers (1)

Green Black
Green Black

Reputation: 5084

You should change the MX records on your server for that domain so that it knows to deliver the email to google and not to localhost.

Upvotes: 1

Related Questions