Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

email from desktop pc

by Microcebus (Beadle)
on Feb 02, 2013 at 22:46 UTC ( #1016761=perlquestion: print w/ replies, xml ) Need Help??
Microcebus has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

I'm running some simple perl scripts for processing and analysing high througput genomic sequencing data on my local desktop pc in my office. Since these jobs can take up several days, I wonder if there is a possibility to implement some simple perl code that sends me an email message when the job is finished

Thanks a lot for your wisdom

Comment on email from desktop pc
Re: email from desktop pc
by clueless newbie (Friar) on Feb 02, 2013 at 23:16 UTC

    Faced with a similar situation, I've used Email::Send::Gmail with success. You will need a gmail account.

      Thank you! That did the job and is very easy to use. Do you know if it is possible to attach files using this module?
Re: email from desktop pc
by tmharish (Friar) on Feb 03, 2013 at 05:29 UTC

    Unrelated to your question but when I run programs that take days I also mail myself when the program dies.

    Additionally I try to save as much program state information as possible before the actual 'die' - so if the program died after two days I dont have to wait another two days to see if I have fixed the bug.

Re: email from desktop pc
by afoken (Parson) on Feb 03, 2013 at 07:23 UTC

    Use MIME::Lite, configure it to speak SMTP with the mailserver that your usual mail program uses.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: email from desktop pc
by perl514 (Pilgrim) on Feb 03, 2013 at 10:42 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016761]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2014-09-02 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (21 votes), past polls