-
External SMTP with Swift?
I have a script which serves as a waiting list for tickets to an event that I help organize.
I would like to specify an external SMTP server, since the 200 per hour limit has been forcing me to queue messages recently
I've been trying to use swiftmailer, which is an excellent secure PHP script, to send SMTP email through a friend's server, but it keeps failing with the following message:
Uncaught Error of type [Swift_Connection_Exception] with message [The SMTP connection failed to start [mail.ipclassless.com:25]: fsockopen returned Error Number 111 and Error String 'Connection refused']
Since the error is "Failed to start", I'm guessing that the server may not be able to send data over port 25.
Has anyone else had any luck with authenticated smtp over an external server?
Thanks,
Bob
-
-
the problem is the server is not letting you create sockets.
remember WHB server use phpSUexec, so you will need to code it accordingly.
After you recode it, if you get the same error setup a php.ini in that directory.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules