phpSUexec and an external mail server.
Posted: Fri May 11, 2007 11:12 am
I've been using swift for a while now, and I love it. It's great.
However, My host limits the number of emails I can send per hour, and I have a ticket/waiting list application that recently got more members than my limit, which means I have to queue and batch send the messages. No big deal, I wrote a script for it, it works fine.
Still, I'd like to send the messages out all at once, which should be easy with an external SMTP server, but I get the following error when I specify an external mail server.
Uncaught Error of type [Swift_Connection_Exception] with message [The SMTP connection failed to start [(SMTP server redacted):25]: fsockopen returned Error Number 111 and Error String 'Connection refused']
The best reply I've gotten from support is: "the problem is the server is not letting you create sockets...server use phpSUexec, so you will need to code it accordingly"
So, my question is:
Has anyone got a way to get swiftmailer to use an external smtp server if the server hosting swift has phpSUexec enabled?
Thanks for any help,
!Bob
However, My host limits the number of emails I can send per hour, and I have a ticket/waiting list application that recently got more members than my limit, which means I have to queue and batch send the messages. No big deal, I wrote a script for it, it works fine.
Still, I'd like to send the messages out all at once, which should be easy with an external SMTP server, but I get the following error when I specify an external mail server.
Uncaught Error of type [Swift_Connection_Exception] with message [The SMTP connection failed to start [(SMTP server redacted):25]: fsockopen returned Error Number 111 and Error String 'Connection refused']
The best reply I've gotten from support is: "the problem is the server is not letting you create sockets...server use phpSUexec, so you will need to code it accordingly"
So, my question is:
Has anyone got a way to get swiftmailer to use an external smtp server if the server hosting swift has phpSUexec enabled?
Thanks for any help,
!Bob