Failed to send activation email. Please try again.

Archived from the Web Auction Discussion forum.

jaspern89 — Fri May 14, 2010 6:35 am

I did get the error message “Failed to send activation email. Please try again.”, whenever I try to register a new user on Webauction.

How can I setup the SMTP for our mailserver?

I’m running Ubuntu 10.04LTS with XAMPP for linux v1.7.1.
Is there any files I must edit?

Thanks
Jasper


cybergenesis — Thu Jan 13, 2011 7:15 am

I am finding the same problem with fresh install, anyone have a fix for this?

Thanks


shannah — Fri Jan 14, 2011 1:02 pm

This is likely a problem with your PHP configuration. You need to set up the mail server that PHP should use. If you google things like “setting up mail in PHP” etc… you should find some discussion and tutorial on the subject.

Or check out the PHP site about mail… there are instructions and comments to help with installation.
http://php.net/mail


Bl4ke — Tue Jan 25, 2011 1:37 am

First and foremost, see if the PHP setting is properly configured. Check if you still need to set up the mail server of it so you can use PHP. If this is not effective, the easiest way you can do is to search over the net and look for some remedies.


alias454 — Mon Dec 31, 2012 12:20 pm

I realize this is an old thread but I recently ran into this same problem.
After installing Apache, PHP, Sendmail etc on CentOS 6.3, I got the same error.
After a little research, I found it was related to the SELinux policiy settings.

Check your SELinux policies via

Code: Select all
getsebool -a | grep mail

httpd_can_sendmail –> off

Change that setting to on via

Code: Select all
setsebool -P httpd_can_sendmail on

Here is the thread that helped me resolve the issue.
stackoverflow.com/questions/12804841/how-can-apache-be-allowed-to-send-email