/[cvs]/nfo/perl/scripts/dispatchmail/buildMail
ViewVC logotype

Annotation of /nfo/perl/scripts/dispatchmail/buildMail

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Wed Jan 22 05:11:00 2003 UTC (21 years, 5 months ago) by collector
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
- moved to bin/ and doc/

1 joko 1.1 #!/usr/bin/perl
2    
3     use strict;
4     use warnings;
5    
6     use MIME::Lite;
7    
8     my $to = 'joko@netfrag.org';
9     my $subject = "Testmail - generated on ...";
10     my $data = "$subject";
11    
12     my $msg = MIME::Lite->new(
13     From => 'test@localhost',
14     To => "$to",
15     Subject => "$subject",
16     Data => "$data\n",
17     );
18     my $str = $msg->as_string;
19    
20     print $str;

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed