Results 1 to 4 of 4

Thread: auto email test

  1. #1
    salmon is offline Certified Glow Sage
    Join Date
    May 2008
    Posts
    30

    Default auto email test

    Is there anyway to set-up an automatic email test to ensure that emails are working? Let's say we do it on a daily basis and then if I don't receive my daily email I will know there could be an issue?

    A cron job maybe?

  2. #2
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    4,702

    Default

    Yes, you can setup a cron job to email you. But I am not sure it's really worth it. What is the problem you are trying to solve? Does something break from time to time or is this just for self-assurance?
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

  3. #3
    salmon is offline Certified Glow Sage
    Join Date
    May 2008
    Posts
    30

    Default

    Self assurance. What script would I use for this?

  4. #4
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    4,702

    Default

    Hmm, here is a simple cron you could use:

    Code:
    */10 * * * * mail -s "Email Is Working" you@yourdomain.com
    This will email you@yourdomain.com a blank email every 10 minute with the subject line "Email Is Working"

    If you want to do it every day at 1 AM then you could use:

    Code:
    0 1 * * *  mail -s "Email Is Working" you@yourdomain.com
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

Similar Threads

  1. Replies: 0
    Last Post: 03-16-2011, 01:40 PM
  2. auto login code for email accounts
    By salmon in forum Programming Talk
    Replies: 2
    Last Post: 05-26-2010, 11:59 AM
  3. [Error] GTUBE test email is bouncing
    By Matt in forum Knowledge Base
    Replies: 0
    Last Post: 09-19-2007, 05:56 PM
  4. Replies: 0
    Last Post: 01-18-2005, 04:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15