Email test extremely slow, never arrives

Permalink
V5.8.2

First doing a mail() call in the code results in mail arriving in seconds and no page load delay.

When testing email in the dash, set to default PHP mail method it takes minutes for the page to come back and say it's successful and the mail never arrives.

Have I missed a setting somewhere?

surefyre
 
surefyre replied on at Permalink Best Answer Reply
surefyre
Is likely related to this fix I found for the registration validation email never arriving...

For anyone reading this with the same problem I believe I found the fix. Finally.

In my installation, for whatever reason - and this is both dev and live which were both setup as standard C5 installs from 8.2.1 individually - the validation email from and fromname are null and this causes the validation registration email to screw up.

I put this in my package controller to explicitly set the values in C5
//
        // Fix validation email address info cos C5 team forgot to put it in?
        \Config::save('concrete.email.validate_registration.address', 'noreply@theonegroup.co.uk');
        \Config::save('concrete.email.validate_registration.name', 'The One Group');


Now it works. I really hope this helps folks with the same issue. Will add it to my bug report.

Now just don't tell the client I spent about a day in total finding this fix...