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

Could not instantiate mail function. | Forum

chidi orji
chidi orji Oct 19 '13
This error page occurs when a new user click on 'Verify email' .Pls help me to resolve it


Message:Could not instantiate mail function.File:/home/tonynwoy/public_html/TN/ow_libraries/php_mailer/class.phpmailer.phpLine:595Trace:#0 /home/tonynwoy/public_html/TN/ow_libraries/php_mailer/class.phpmailer.php(519): PHPMailer->MailSend('Date: Fri, 18 O...', '--b1_f7e0ef5404...')#1 /home/tonynwoy/public_html/TN/ow_system_plugins/base/bol/mail_service.php(265): PHPMailer->Send()#2 /home/tonynwoy/public_html/TN/ow_core/mailer.php(97): BOL_MailService->send(Object(BASE_CLASS_Mail))#3 /home/tonynwoy/public_html/TN/ow_system_plugins/base/bol/email_verify_service.php(217): OW_Mailer->send(Object(BASE_CLASS_Mail))#4 /home/tonynwoy/public_html/TN/ow_system_plugins/base/bol/email_verify_service.php(244): BOL_EmailVerifyService->sendVerificationMail('user', Array)#5 /home/tonynwoy/public_html/TN/ow_system_plugins/base/controllers/email_verify.php(105): BOL_EmailVerifyService->sendUserVerificationMail(Object(BOL_User))#6 [internal function]: BASE_CTRL_EmailVerify->index(Array)#7 /home/tonynwoy/public_html/TN/ow_core/request_handler.php(266): ReflectionMethod->invokeArgs(Object(BASE_CTRL_EmailVerify), Array)#8 /home/tonynwoy/public_html/TN/ow_core/application.php(317): OW_RequestHandler->dispatch()#9 /home/tonynwoy/public_html/TN/index.php(65): OW_Application->handleRequest()#10 {main}Type:phpmailerException

Alia Team
Alia Oct 20 '13
1. Try enabling SMTP (admin panel>>settings>>main settings>>SMTP
You can test with gmail SMTP: https://support.google.com/mail/answer/13287?hl=en

2. Check with your hosting company why standard PHP  mail() function is not working on your server.