I tried to find the answer to my problem in google but all I could find was people with this same problem.
I have a form that uses the php mail function to send an email and it works fine except when I try to send the email to a gmail or google apps account.
The server is local and the domain is the same as in the email I want to send (google apps).
What do I have to do?
This is my php.ini file concerning the mail function:
- Code: Select all
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
Why does it works with an email like <myname>@mail.telepac.pt and not with gmail or with a google apps account?
I'm using Postfix!
I found this but it looks to much! Do I have to do this?
My system:OpenSuse 10.3