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

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

Replies are listed 'Best First'.
Re: email from desktop pc
by clueless newbie (Chaplain) 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 afoken (Abbot) 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.


    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 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 perl514 (Pilgrim) on Feb 03, 2013 at 10:42 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016761]
Approved by toolic
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2018-01-21 05:51 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.