Hi guys,
I am testing the email send function and what i did is quite simple, but no email received. Here is the code:
$email = new Email("namnn96@gmail.com", "namnn96@gmail.com", "Testing", "Test body");
$email->send();
Thanks in advance
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi guys,
I am testing the email send function and what i did is quite simple, but no email received. Here is the code:
$email = new Email("namnn96@gmail.com", "namnn96@gmail.com", "Testing", "Test body");
$email->send();
Thanks in advance
Debugging php mail() is nearly impossible. If it does not work for you, you're experiencing most likely a server configuration problem -- or your email was filtered by a spam filter or it got stuck somewhere else ... Please consult your server admin.