Using an external smtp server instead of sendmail/php

jastor

New Member
I got a problem with my host, it got a limit on the number of emails that the forum is allowed to send so therefore there has been a number of users that havent gotten their confirmation emails sent to them.

So what Im after is a hack/mod that connects to google's smtp servers, logs in and sends email from there instead of using the hosting servers sendmail and/or php to send emails.

Edit:
Nevermind I found the options for it in the AdminCp -> Email Options.

Edit:
Ok someone that knows how to get gmail to work through it? Ive set up smtp.gmail.com at port 587 and TLS with my username/password and vBulletin says that the emails have been sent but I havent recieved any emails yet :/.

Edit:
I get "The mailing function returned an error while trying to send the mail." but no explanation whats wrong.
 
bluescorpion said:
Did you try to run the email test in the diagnostic?

I just did a test on my system and it works exactly how you described it, but I used port 465 also I use the full "[email protected]" for the username.

HTH

Its in the diagnostics I get "The mailing function returned an error while trying to send the mail." and nothing else (which is strange because on other forums Ive read theres supposed to be an PHP error message too, Ive tried editing both the diagnostic and class_mail files trying to echo it to no avail (3.7.3 PL1)).

Im using my the full email as login, and its port 587 not 465 (atleast for google apps that I use) port 465 doesnt work at all for me (it timeouts).

Edit:
I made a small script to test if SSL/TLS would work but I get this error:
Warning: fsockopen() [function.fsockopen]: SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:func(143):reason(267) in /public_html/test.php on line 2

Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in /public_html/test.php on line 2

Warning: fsockopen() [function.fsockopen]: unable to connect to tls://smtp.gmail.com:587 (Unknown error) in /public_html/test.php on line 2

So its nothing wrong with vBulletin or gmail but rather my host.
 
Back
Top