Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+7 votes
in Q2A Core by

I am getting this kind of error on my site while sending confirmation mail to new users.


Question2Answer fatal error:

Could not send email confirmation

Stack trace:

require() in index.php:31
require() in qa-index.php:165
qa_get_request_content() in qa-page.php:795
require() in qa-page.php:207
qa_send_new_confirm() in qa-page-confirm.php:54

Same problem, no issues at this time.... :( Please help :)

3 Answers

0 votes
I hope you have it figured out by now. If not then, go to your cpanel and make no-reply@yourdomain.com it should work right away. Make sure to uncheck smpt mail setting.
I used wamp on my machine. We have a server but it's private and we have an IP address that we can access inside our network only. So nothing like no-reply@domain.com

So if I have a mail system in my server, it's gonna be all right, correct?

Thank you for your reply anyway.
I believe it will require you to have same domain on your no-reply address to work. When I say same domain I mean where you are installing and can access your q2a site through browser.

If you have mail server, give it a try. See if you can make an email address there with (no-reply@what ever server name.something)

hope it will help you out.

Hi, I still cannot make it work. Is there anyway to disable the email function?
@lyxhaven - PM means "personal message" and is accessible though the options at the top of the screen when you select your profile (top right corner of the screen in this case)
0 votes
If you have the same problem, just define $port and $SMTPSecure in qa-class.phpmailer.php.

That's work for me.
0 votes
I've had the same issue, and while this is not necessarily the same problem, you clearly have a problem with sending mail through your email server.  My potentially related issue is detailed in the following post, here on Q2As 'help' site.




(This is for anyone else that finds similar issues, since I realize that this user is long-gone!)