MyBB Community Forums

Full Version: Servers Without Mail System
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I guess I have a problem with my mail system I can not send mails through my server mail system. Mails seems to be gone but most of them returns back with error.

One of the domain I am hosting on my server the admin of that site has send mails via admin cp and I guess hotmail etc. has blocked my server

Quote: Reason: 550 Command rejected for policy reasons. For troubleshooting information, go to http://postmaster.msn.com

Reason Code: SMTP Outbound - General Error
Error Number: 0

Now I suggest is that is there any possiblity to add a setting for SMTP Email which can have these settings;

SMTP Host
SMTP Port
SMTP Username
SMTP Password
SMTP Secure Connection

to use onother mail system instead of our server mail system
yes, this is realy needed cause many freehoster have deaktivated the php-mail function.

so there is no way to use the mail-function on registration.
you even get some errors like:
Fatal error: Call to a member function run_hooks() on a non-object in /srv/www/httpd/****/c/eu/***/cool/web/forum/inc/functions.php on line 150
If you want to use an external SMTP server you can change the function my_mail() in the file inc/functions.php to fit your needs. I think it's not that hard if you use an existing class for sending emails through an SMTP server like phpMailer.

You can find a fix for the metioned error in this thread: http://community.mybboard.net/showthread.php?tid=12430
Michael83 Wrote:If you want to use an external SMTP server you can change the function my_mail() in the file inc/functions.php to fit your needs. I think it's not that hard if you use an existing class for sending emails through an SMTP server like phpMailer.

Ok. Show us the way. There lots of codes there which we are really not used to.
Michael83 Wrote:If you want to use an external SMTP server you can change the function my_mail() in the file inc/functions.php to fit your needs. I think it's not that hard if you use an existing class for sending emails through an SMTP server like phpMailer.

You can find a fix for the metioned error in this thread: http://community.mybboard.net/showthread.php?tid=12430
thanks for your reply,
but that is no solution, as you may know many hosters will disable the php-mail function do to several reasons. so what do all mybb-users who have no experiences with php? (just change board i think)
SMTP support is being considered for a future version.
DennisTT Wrote:SMTP support is being considered for a future version.


Great news
If there was a setting like this it would be much better to configure sending mail via forum.
adigec Wrote:If there was a setting like this it would be much better to configure sending mail via forum.

I'm not sure, I don't think we've decided whether or not the SMTP mail settings will be settings in the Admin CP in a new settings category (called something like "Mail settings") or in inc/config.php...
DennisTT Wrote:
adigec Wrote:If there was a setting like this it would be much better to configure sending mail via forum.

I'm not sure, I don't think we've decided whether or not the SMTP mail settings will be settings in the Admin CP in a new settings category (called something like "Mail settings") or in inc/config.php...

It does not matter where you put the settings. Just to have it is enough.
Pages: 1 2