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?
How to configure the mail server
Moderators: Chris Corbyn, General Moderators
-
snowball77
- Forum Newbie
- Posts: 2
- Joined: Sun Aug 10, 2008 12:33 am
-
Trance-formation
- Forum Newbie
- Posts: 11
- Joined: Tue Jul 17, 2007 6:31 am
Re: How to configure the mail server
if you still need help with this, I'm thinking you don't need to configure your mail server, just set up the connection properly in your swiftmailer code... can you post the the code as you use it on your server (with any usernames and passwords removed, obviously)?
-
snowball77
- Forum Newbie
- Posts: 2
- Joined: Sun Aug 10, 2008 12:33 am
Re: How to configure the mail server
Hi Thanks for replying.
I fix it up.
I was using the tutorial for emails and attachments and there was a place within the handle_form.php section that needed to be set up.
That was basically what I was looking for, but didn't follow the instructions properly
A
I fix it up.
I was using the tutorial for emails and attachments and there was a place within the handle_form.php section that needed to be set up.
That was basically what I was looking for, but didn't follow the instructions properly
A