mecrazycoder has asked for the wisdom of the Perl Monks concerning the following question:
Please kindly help.Is there any other way to create exe.I tried Par but i dont find in ppm.I am using activestate-windows server2008.use warnings; use strict; use MIME::Lite; our $user = "username\@yahoo.in"; our $pass = "password"; our $attachmentname=$ARGV[0]; our $to = "username\@yahoo.in"; our $from = "username\@yahoo.in"; our $subject = "Hi buddy"; our $message = "Here is the attachment"; emailToSend($to, $from, $subject, $message); sub emailToSend { local ($to, $from, $subject, $message) = @_; my $msg = MIME::Lite->new( From => $from, To => $to, Subject => $subject, Data => $message ); $msg->attach(Type => 'image/gif', Id => 'GDIPlus_Image.gif', Path => 'images.zip', ); MIME::Lite->send('smtp', 'smtp.mail.yahoo.com:25', Timeout => 30, AuthUser=>$user, AuthPass=>$pass); $msg->send(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with perl2exe
by marto (Cardinal) on Sep 01, 2009 at 09:15 UTC | |
by Anonymous Monk on Sep 01, 2009 at 09:39 UTC | |
by Anonymous Monk on Sep 11, 2009 at 20:52 UTC | |
by Anonymous Monk on Sep 11, 2009 at 21:37 UTC | |
by Anonymous Monk on Sep 11, 2009 at 23:36 UTC | |
|
Re: Problem with perl2exe
by Anonymous Monk on Sep 01, 2009 at 07:34 UTC | |
by mecrazycoder (Sexton) on Sep 01, 2009 at 07:50 UTC | |
by Anonymous Monk on Sep 01, 2009 at 07:53 UTC | |
by mecrazycoder (Sexton) on Sep 01, 2009 at 07:53 UTC |