From: "Brett W. McCoy" <[EMAIL PROTECTED]>
> On Wed, 12 Dec 2001, Johnson, Shaunn wrote:
>
> > --i know. i *know* i must be doing something goofy.
>
>
> > #$addr=`cat /tmp/email_users.txt`;
> > $addr='[EMAIL PROTECTED]';
> ^
> > $addr_frm='[EMAIL PROTECTED]';
>
n't working for me at all.
-X
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 11:37 AM
To: Johnson, Shaunn
Cc: [EMAIL PROTECTED]
Subject: RE: documentation about perl / email
On Wed, 12 Dec 2001, Johnson, Shaunn wrote:
> --i
On Wed, 12 Dec 2001, Johnson, Shaunn wrote:
> --i know. i *know* i must be doing something goofy.
> #$addr=`cat /tmp/email_users.txt`;
> $addr='[EMAIL PROTECTED]';
^
> $addr_frm='[EMAIL PROTECTED]';
^
You need to escape the @ with \ here
-- Brett
--i know. i *know* i must be doing something goofy.
--here's my code:
[code]
#!/usr/bin/perl
$debug=2;
open DATE, "date |";
$date=;
chop $date;
#$addr=`cat /tmp/email_users.txt`;
$addr='[EMAIL PROTECTED]';
$addr_frm='[EMAIL PROTECTED]';
$boundary='!*@^$% HMP web server MIME boundary %$^
On Wed, 12 Dec 2001, Johnson, Shaunn wrote:
> [excerpt]
>
> In string, @server now must be written as \@server at ./email_sys_users.pl
> line 17, near "@server"
> In string, @bcbsm now must be written as \@bcbsm at ./email_sys_users.pl
> line 17, near "@server.fred.com
> email: admin@fred"
> Exec
--sending email.
--when i look at the example from perldoc -q 'mail' i get
the example:
Use the `sendmail' program directly:
open(SENDMAIL, "|/usr/lib/sendmail -oi -t -odq")
or die "Can't fork for sendmail: $!\n";
print SENDMAIL <<"EOF";
On Wed, 12 Dec 2001, Johnson, Shaunn wrote:
> Where can i find documentation about using email
> addresses in perl scripts?
What is you are trying to do? Are you parsing email addresses, sending
email, harvesting email?
-- Brett
http://www.chapelperilo
Howdy:
Where can i find documentation about using email
addresses in perl scripts?
I believe this has to do with regex, but I'd like
to read it for myself. Not finding much but flames
at the FAQ sites ...
TIA
-X