We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Problem sending emails. | Forum

Topic location: Forum home » Support » General Questions
Mohammad Gufran
Mohammad Gufran Sep 1 '11
Hi,
My oxwall is showing errors whenever an event whichever send emails is encountered, no user can sign up on my site due to no confirmation email can be sent to them, Exact error page is:

OW Debug - Exception
Message:Could not instantiate mail function.
File:/var/www/clients/client0/web1/web/community/ow_libraries/php_mailer/class.phpmailer.php
Line:595
Trace:
#0 /var/www/clients/client0/web1/web/community/ow_libraries/php_mailer/class.phpmailer.php(519): PHPMailer->MailSend('Date: Thu, 1 Se...', '--b1_6a55284837...')
#1 /var/www/clients/client0/web1/web/community/ow_system_plugins/base/bol/mail_service.php(260): PHPMailer->Send()
#2 /var/www/clients/client0/web1/web/community/ow_core/mailer.php(97): BOL_MailService->send(Object(BASE_CLASS_Mail))
#3 /var/www/clients/client0/web1/web/community/ow_system_plugins/base/init.php(435): OW_Mailer->send(Object(BASE_CLASS_Mail))
#4 [internal function]: base_welcome_letter(Object(OW_Event))
#5 /var/www/clients/client0/web1/web/community/ow_core/event_manager.php(147): call_user_func('base_welcome_le...', Object(OW_Event))
#6 /var/www/clients/client0/web1/web/community/ow_system_plugins/base/controllers/join.php(257): OW_EventManager->trigger(Object(OW_Event))
#7 /var/www/clients/client0/web1/web/community/ow_system_plugins/base/controllers/join.php(125): BASE_CTRL_Join->joinUser(Array, '290365aadde35a9...')
#8 [internal function]: BASE_CTRL_Join->index(Array)
#9 /var/www/clients/client0/web1/web/community/ow_core/dispatcher.php(257): ReflectionMethod->invokeArgs(Object(BASE_CTRL_Join), Array)
#10 /var/www/clients/client0/web1/web/community/ow_core/application.php(293): OW_Dispatcher->dispatch()
#11 /var/www/clients/client0/web1/web/community/index.php(65): OW_Application->dispatch()
#12 {main}
Type:phpmailerException
Den Team
Den Sep 2 '11
You need to contact your hosting provider about this.
Mohammad Gufran
Mohammad Gufran Sep 2 '11
well... I am on my own server.
Eric
Eric Sep 3 '11
Did you change any settings in your PHP.ini?
Also, load file "/var/www/clients/client0/web1/web/community/ow_libraries/php_mailer/class.phpmailer.php" in your favorite editor and goto line 595.
See what that line does.
From where I'm standing, it looks like PHP has trouble sending mail out.
You might want to check your firewall settings for port 25.
--Eric

Mohammad Gufran
Mohammad Gufran Sep 3 '11
I solved it, thanks. :)