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 on localhost? | Forum

Niks
Niks Oct 4 '15
I was checking the forgot password option while signing into the site as admin. As i am using it on my localhost , so this error popped out::
Type:
Exception

Message:
Could not instantiate mail function.

File:
C:\Program Files (x86)\Ampps\www\oxwall\ow_libraries\php_mailer\class.phpmailer.php

Line:
1181

Trace:
#0 C:\Program Files
(x86)\Ampps\www\oxwall\ow_libraries\php_mailer\class.phpmailer.php(1061):
PHPMailer->mailSend('Date: Sun, 4 Oc...', '--b1_7f7d0466ba...')
#1 C:\Program Files
(x86)\Ampps\www\oxwall\ow_libraries\php_mailer\class.phpmailer.php(966):
PHPMailer->postSend()
#2 C:\Program Files
(x86)\Ampps\www\oxwall\ow_system_plugins\base\bol\mail_service.php(274):
PHPMailer->send()
#3 C:\Program Files (x86)\Ampps\www\oxwall\ow_core\mailer.php(97):
BOL_MailService->send(Object(BASE_CLASS_Mail))
#4 C:\Program Files
(x86)\Ampps\www\oxwall\ow_system_plugins\base\bol\email_verify_service.php(217):
OW_Mailer->send(Object(BASE_CLASS_Mail))
#5 C:\Program Files
(x86)\Ampps\www\oxwall\ow_system_plugins\base\bol\email_verify_service.php(244):
BOL_EmailVerifyService->sendVerificationMail('user', Array)
#6 C:\Program Files
(x86)\Ampps\www\oxwall\ow_system_plugins\base\controllers\email_verify.php(110):
BOL_EmailVerifyService->sendUserVerificationMail(Object(BOL_User))
#7 [internal function]: BASE_CTRL_EmailVerify->index(Array)
#8 C:\Program Files
(x86)\Ampps\www\oxwall\ow_core\request_handler.php(266):
call_user_func_array(Array, Array)
#9 C:\Program Files (x86)\Ampps\www\oxwall\ow_core\application.php(342):
OW_RequestHandler->dispatch()
#10 C:\Program Files (x86)\Ampps\www\oxwall\index.php(76):
OW_Application->handleRequest()
#11 {main}i am not able to sign in as admin. I am only developing it on my localhost , so i need to sign in as admin but due to inavailablilty of sending emails from localhost , i encountered this problem. What to do?
Please suggest.
The Forum post is edited by Niks Oct 4 '15
ross Team
ross Oct 4 '15
You need to instantiate the mail function on your local server

You can check this posts: http://stackoverflow.com/...ntiate-mail-function and other topics here: https://www.google.com/...;espv=2&ie=UTF-8

Ajay
Ajay Dec 15 '18

 I'm facing the same kind of issue, password reset mail and invite mail all mail function  is not working  on my Oxwal site, I m able to initiate the reset though password reset option and getting the message " information about changing and confirming your new password sent to your email" but the user never get the mail "


https://snag.gy/Om7vn9.jpg


Please Help 

JB TECH
JB TECH Dec 16 '18
Localhost doesn't typically come packed in with a SMTP system, you have to add it. If this is a problem with your live, online website, you could be having issues with the Mail server that your host is utilizing
Oxwall Germany Club
Oxwall Germany Dec 16 '18
Ajay, check if your cron is set up right. Your hosting provider may assist you. Please don't double post your questions and focus on one topic per issue.
The Forum post is edited by Oxwall Germany Dec 16 '18