> > Hello everyone, > > I'm trying to use the Mail::Sendmail module in a script where I need a > independent mailer. The problem I'm having is including more > than one line > of text in the message body. I'm not really sure how to do this. The > package uses a $mail{message} = "blah" var for the message > body. Is it > possible to get more than one line into that hash value?
$mail{message} = "this is a line\nthis is another\n" > > Basically I've got a script that generates a bunch of information and > outputs it to a file. What I would like to do is make the > contents of this > file, the body of my message. I don't want it as an attachment. how about: my $body = `cat $yourfile`; > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]