>>
Site Map
>>
Forums
>>
Tips and Tricks
Forum module - topics in forum:
Tips and Tricks - Get the most from your PHP-NUKE website. Post things you have discovered and would like to share with others.
A way to send emails and not worry about spam
I have had this problem with my site and users. The admin email most always goes to the users spam boxes. I found this nice piece of work. I tried it on my site using nCo Nuke 7.6 patched 31, created a test user with another email that I have and the emails don't go to the spam box.
http://www.karakas-online.de/forum/viewtopic.php?t=3682
The only thing that you have to be aware of is there are actually 7 lines of this:
| Code: : |
| mail($user_email, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion()); |
and 2 lines of this:
| Code: : |
| mail($user_email, $subject, $message, "From: $adminmail\nX-Mailer: PHP/" . phpversion()); |
to change in the index.php file for this version of nuke.