MyBB Community Forums

Full Version: Using mail Enable SMTP server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am going to use general names and IP addresses to describe the SMTP/PHP.ini issue I have run into.

Mail server is Mail Enable ver 6 Standard . MYBB is running on Server 2008 standard .

mailserver IP 10.1.1.5
IIS MyBB 10.1.1.10


All works well except when I configure new user registration to use Email. the end user is hit with "Service unavailable" using the SMTP configuration I tried TLS and claim it cannot talk with the smtp port 25. Gets to the 220 and then quits. The username and password are correct and I can used a winbatch script to send a test emails successfully. Using SMTP how can I pass correct authentication to the mail server. I do not want to take the chance fo ran open relay.

Went down a different road:

I setup for using PHP and I added the following to the php.ini file..

FYI: Reverse lookup is configured witht he ISP.. MAIL works great from other scripts and clients I have run.

[mail function]
SMTP = mail.motoforms.com
smtp_port = 25
auth_username = [email protected]
auth_password = whothehellknows

From the mail server logs: "The ip's and anme have been changed around for security reasons.

01/07/12 10:04:31 SMTP-IN A9D0290566C34976BC8DAB83E8B509CD.MAI 320 10.1.1.5 220 MOTOML.motoforms.com ESMTP MailEnable Service, Version: 5.51-- ready at 01/07/12 10:04:31 0 0
01/07/12 10:04:31 SMTP-IN A9D0290566C34976BC8DAB83E8B509CD.MAI 320 10.1.1.5 HELO HELO mcraftweb01 250 Requested mail action okay, completed 43 18
01/07/12 10:04:31 SMTP-IN A9D0290566C34976BC8DAB83E8B509CD.MAI 320 10.1.1.5 MAIL MAIL FROM:<[email protected]> 250 Requested mail action okay, completed 43 36
01/07/12 10:04:31 SMTP-IN A9D0290566C34976BC8DAB83E8B509CD.MAI 320 10.1.1.5 RCPT RCPT TO:<[email protected]> 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server. 235 35
01/07/12 10:04:31 SMTP-IN A9D0290566C34976BC8DAB83E8B509CD.MAI 320 10.1.1.5 QUIT QUIT 221 Service closing transmission channel 42 6

With most mail clients and my script it requires extended uthentication. Not the SPA but usually "My SMTP server requires authentication" use the credential supplied or some other.
OK, Found a work around. On the mail server I set the IIS server as not requiring authentication for relay. Mail is now flowing for new users.
it would be better to contact your web host as it is difficult to guess the cause for above issue !!
if you like to use SMTP you can configure it through admin panel. Enter correct setting for your email.