I guess you want to add it into the header of the message: $smtp->datasend("From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: This is the subject
This is the body of the message (after an empty line. "); ----- Original Message ----- From: "gui" <[EMAIL PROTECTED]> To: <beginners@perl.org> Sent: Monday, August 08, 2005 8:17 PM Subject: Net::SMTP : how to include sender address ? > Hi, > > I'm playing around with the Net::SMTP module. I can send email > correctly, but each ones I send there's no sender's address. > > I thought that using mail() would to that, since it's the only method > that takes the sender's address as parameter. but that's not it. > > how can I add a sender address to the mail ??? > > thanks > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>