How to configure the mail server
Posted: Sun Aug 10, 2008 12:51 am
Hi
I am extremely green on all this stuff.
I was just trying to run the simple form with an attachement and got this error
Fatal error: Uncaught exception 'Swift_ConnectionException' with message 'The SMTP connection failed to start [your_smtp_server.tld:25]: fsockopen returned Error Number 4 and Error String ''' in /home/threerob/public_html/lib/Swift/Connection/SMTP.php:309 Stack trace: #0 /home/threerob/public_html/lib/Swift.php(216): Swift_Connection_SMTP->start() #1 /home/threerob/public_html/lib/Swift.php(101): Swift->connect() #2 /home/threerob/public_html/handle_form.php(56): Swift->__construct(Object(Swift_Connection_SMTP)) #3 {main} thrown in /home/threerob/public_html/lib/Swift/Connection/SMTP.php on line 309
It looks like i need to configure my mail server.
WHERE ON EARTH DO I DO THIS
I need to change this to
Change you mail server from
your_smtp_server.tld:25
to mail.mydomain.com
I expect there is a config file somewhere I just am getting lost finding it.
Can someone help me please?
I am extremely green on all this stuff.
I was just trying to run the simple form with an attachement and got this error
Fatal error: Uncaught exception 'Swift_ConnectionException' with message 'The SMTP connection failed to start [your_smtp_server.tld:25]: fsockopen returned Error Number 4 and Error String ''' in /home/threerob/public_html/lib/Swift/Connection/SMTP.php:309 Stack trace: #0 /home/threerob/public_html/lib/Swift.php(216): Swift_Connection_SMTP->start() #1 /home/threerob/public_html/lib/Swift.php(101): Swift->connect() #2 /home/threerob/public_html/handle_form.php(56): Swift->__construct(Object(Swift_Connection_SMTP)) #3 {main} thrown in /home/threerob/public_html/lib/Swift/Connection/SMTP.php on line 309
It looks like i need to configure my mail server.
WHERE ON EARTH DO I DO THIS
I need to change this to
Change you mail server from
your_smtp_server.tld:25
to mail.mydomain.com
I expect there is a config file somewhere I just am getting lost finding it.
Can someone help me please?