email script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bobon5106
    Member
    • Aug 2008
    • 75

    #1

    email script

    to all the tech guys
    what i want to do is write a script what will generate a email to at least 6 different people. place were i work is for a leading areospace company which is ruled by (NADCAP). we have two different sites with conventional and vac furnaces. when i survey the furnaces after they pass the survey i print a a4 sheet laminated with the dates and temperatures on when and how long they can be used for but human error comes into place and so called skilled men still use them after the date as expired so what i after is a script what will notify the revelant people saying that next week
    say they can,t use the oven after a certain date(i know the a4 says this but it still happens creating me even more work) i know this can be done with outlook in tasks but means me still having to send the emails myself.
    thanks in advance
    open to any suggestions ths for looking
    bobon5106
    sigpic
  • chroma
    V.I.P. Member
    • Feb 2009
    • 1976

    #2
    do you have telnet access to your outgoing email (usualy SMTP port 25)?

    if you do then it would be fairly straightforward to knock up a batch file that would connect to telnet, login to your account and then send emails to whomever. set that up to execute with scheduled tasks and "Robert is your mothers brother"

    the syntax off the top of my head escapes me, its not something ive ever really needed to get involved with. however looking through the request for comments RFC 821 and 2821 should give you all the commands you need.
    He who laughs last thinks slowest.

    Comment

    • bobon5106
      Member
      • Aug 2008
      • 75

      #3
      yes we have acess to telnet
      just googling RFC 821 and 2821 now thx for your advice
      bobon5106
      sigpic

      Comment

      Working...