in reply to baffled by the sendmail..
With respects to the newline thing, it may be simplest to just set, say, $/ = "\r\n"; and terminate your lines with $/ instead. To be honest, most MTA's tend to not care whether you use \n or \r\n.
In addition, you may wish to spit out To: and From: headers in addition to your Subject: header. The MAIL FROM/RCPT TO stuff isn't really seen in the message itself.
|
|---|