RE: documentation about perl / email

2001-12-13 Thread Jenda Krynicky
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]'; ^ You need to

documentation about perl / email

2001-12-12 Thread Johnson, Shaunn
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

Re: documentation about perl / email

2001-12-12 Thread Brett W. McCoy
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

RE: documentation about perl / email

2001-12-12 Thread Johnson, Shaunn
--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;

RE: documentation about perl / email

2001-12-12 Thread Brett W. McCoy
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 Execution of

RE: documentation about perl / email

2001-12-12 Thread Johnson, Shaunn
--i know. i *know* i must be doing something goofy. --here's my code: [code] #!/usr/bin/perl $debug=2; open DATE, date |; $date=DATE; chop $date; #$addr=`cat /tmp/email_users.txt`; $addr='[EMAIL PROTECTED]'; $addr_frm='[EMAIL PROTECTED]'; $boundary='!*@#^$% HMP web server MIME boundary

RE: documentation about perl / email

2001-12-12 Thread Brett W. McCoy
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

RE: documentation about perl / email

2001-12-12 Thread Johnson, Shaunn
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 know. i *know* i must