Softaculous


Topic : Failed to connect to mailserver at...


Posted By: Nube on June 13, 2012, 9:55 pm
Hi :-)

i need your help one more time..

I have realized a nice little app with php and mysql :-) now i'd like to add a form contact. I realized it and everything seems fine but when i try to send the email i got this message:

Quote

Warning: mail() [function.mail]: Failed to connect to mailserver at "127.0.0.1" port 25, verify your "SMTP" and "smtp_port"


I checked the php ini file and everything seems fine:

PHP Code

 [mail function]
; For 
Win32 only.
http://php.net/smtp
SMTP 127.0.0.1

http://php.net/smtp-port
smtp_port 25 



Do i need to install some app to manage mails?

thanks :-)

Posted By: Quax on June 14, 2012, 5:27 am | Post: 1
I do believe that you'll need your own SMTP Server and settings! If you didn't have one, there some Freeware SMTP Server available, or you use the Google Mails Server SMTP!

You'll need a Gmail account, which is free for to sign up and give you 7GB storage. After signup, log on, go to settings and retrieve the required infos. Please keep in mind that Google use not the standard Port for SMTP!

That should resolve your problem.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.