9/26/2010 7:12:33 PM
Title:
Cannot send email from flex application
Hello..
I had developed a flex application which can send email. But i got the problem of configuration of SMTP port.
What I must do to solve it. I already googling but I do not really understand because zero knowledge about SMTP. So can someone help me to fix this problem?
Thanks,
Iss.
9/26/2010 7:15:02 PM
Here is the error message of the problem:
<br />
<b>Warning</b>: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
9/26/2010 9:51:56 PM
the problem is not related to flex, the error is occurring in the php page. According to the error the mail script in your php page is not able to find the mail server. You must have mail server setup on your local system to able to make it work. Try uploading your application on your online website , there mail servers are already configured so it should work online.
9/26/2010 11:22:21 PM
Justin, thank you for your help..