|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Created script to send email but ending up with blank "FROM" field?by edger1 (Initiate) |
| on Sep 16, 2004 at 18:35 UTC ( [id://391579]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.edger1 has asked for the wisdom of the Perl Monks concerning the following question: Hi. This surprised me, but my code below actually works to send an email! This site is great for the necessary programming help. Now I have a few questions on how can I make it better. First, when the email is received, the "FROM" field is blank. How and where do I specify the person it is coming from? Second, how do I specify the subject? Now, the first part of the body is in the subject line. Last -- this one is not as important but I'm just curious -- is there a way to specify the date and time? I am using WindowsXP Pro. I tried using both sendmail and the Mail module but to no success. Below is my code:
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||