Hi, I need to use sendmail to email a set of variables from a form to a specified email address. I am currently using Mail::Send like so:
#!/usr/bin/perl require Mail::Send; $msg = new Mail::Send; $msg->to('[EMAIL PROTECTED]'); $msg->subject('Form Data Submission'); $fh = $msg->open; print $fh "Body of message"; $fh->close; The only problem is that the module won't let me specify a sender. Also, how can I put the contents of variables in the body of the message separated by \n. I didn't know how that would affect the quotes around the string. As an example: $name\n \n $address\n \n $tel Didn't know how to lay it out. Cheers -- Matthew Harrison Internet/Network Services Administrator Peanut-Butter Cheesecake Hosting Services Genstate www.peanutbuttercheesecake.co.uk -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]