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...")
 
Line 6: Line 6:
 
}}
 
}}
  
NATS can protect some pages with CAPTCHAs, providing an additional security measure that helps to prevent against automated login attempts.
+
Common NATS Email Issues:
  
If your CAPTCHA image is missing from a page, ensure your server has both GD and FreeType installed, and that GD was compiled with FreeType support.  Also, make sure the CAPTCHA is enabled on the template.
+
1. (NATS4 only) Ensure that the NATS mail cron is configured.
 +
  */3 * * * * cd {full NATS path}/processes; {full PHP path} run_mail_queue.php;
  
For more information on CAPTCHA images and how to add them in [[NATS4]], please see our [[NATS4 Adding a Verification Image]] wiki article.
+
2. Ensure that PHP can send mail
 +
  If using PHP mail, you can test PHP mail with the following script:
 +
  <?php
 +
  $to = "ben.warren@toomuchmedia.com";
 +
  $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>");
 +
    }
 +
  ?>
  
== See Also ==
+
3. Ensure that the email that you expect has a subject configured.
* [http://en.wikipedia.org/wiki/CAPTCHA CAPTCHA] -- Wikipedia's CAPTCHA article
+
  NATS will not send email without a subject configured.
 
 
[[Category:External Links]]
 
[[Category:Also NATS4 Article]]
 
[[Category:NATS4 Troubleshooting Tips]]
 

Revision as of 12:28, 21 February 2012

NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
Troubleshooting
Common Errors
Email_Issues
Fix Graphs
Expired License
Zend License
Zip Files in Internet Explorer
NATS 3
Troubleshooting
Common Errors
Email_Issues
Auto Login
Emptying Forms
AutoLogin Cookie
CAPTCHA
Changing Licenses
Expired License
Zend License

Common NATS Email Issues:

1. (NATS4 only) Ensure that the NATS mail cron is configured.

  */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 = "ben.warren@toomuchmedia.com";
  $subject = "Hi!";
  $body = "Hi,\n\nHow are you?";
  if (mail($to, $subject, $body)) {

echo("

Message successfully sent!

");

   } else {

echo("

Message delivery failed...

");

   }
  ?>

3. Ensure that the email that you expect has a subject configured.

  NATS will not send email without a subject configured.