Difference between revisions of "Email Issues"
From TMM Wiki
Jump to navigationJump to search (Created page with "{{NATS4 Manual | show_troubleshooting_section = true }} {{NATS3 Manual | show_troubleshooting_section = true }} NATS can protect some pages with CAPTCHAs, providing an additiona...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
}} | }} | ||
− | NATS | + | <big>'''Common NATS Email Issues:'''</big> |
− | |||
− | |||
− | + | 1. '''Ensure that the NATS mail cron is configured. (NATS4 only)''' | |
− | * | + | <pre>*/3 * * * * cd {full NATS path}/processes; {full PHP path} run_mail_queue.php;</pre> |
− | + | 2. '''Ensure that PHP can send mail''' | |
− | + | ||
− | + | :If using PHP mail, you can test PHP mail with the following script: | |
+ | |||
+ | <pre> | ||
+ | <?php | ||
+ | $to = "{your email address]"; | ||
+ | $subject = "Hi!"; | ||
+ | $body = "Hi,\n\nHow are you?"; | ||
+ | if (mail($to, $subject, $body)) { | ||
+ | echo("<p>Message successfully sent!</p>"); | ||
+ | } else { | ||
+ | echo("<p>Message delivery failed...</p>"); | ||
+ | } | ||
+ | ?> | ||
+ | </pre> | ||
+ | |||
+ | 3. '''Ensure that the email that you expect to be sent via NATS has a subject configured.''' |
Latest revision as of 11:45, 21 February 2012
NATS 3
|
---|
Common NATS Email Issues:
1. Ensure that the NATS mail cron is configured. (NATS4 only)
*/3 * * * * cd {full NATS path}/processes; {full PHP path} run_mail_queue.php;
2. Ensure that PHP can send mail
- If using PHP mail, you can test PHP mail with the following script:
<?php $to = "{your email address]"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; if (mail($to, $subject, $body)) { echo("<p>Message successfully sent!</p>"); } else { echo("<p>Message delivery failed...</p>"); } ?>
3. Ensure that the email that you expect to be sent via NATS has a subject configured.