Re: Where is "Subject"?

2017-02-27 Thread ToddAndMargo
On 02/27/2017 11:34 PM, ToddAndMargo wrote: Hi All, Follow up on Net::SMTP: Thank you for all the help! I am posting this back to help others. And, yes, I know I don't have to use "~" so much. -T Comments: 1) "@to" is an array, not a string 2) the "To:", "From:", and "Subject:" are

Re: Where is "Subject"?

2017-02-27 Thread ToddAndMargo
Hi All, Follow up on Net::SMTP: Thank you for all the help! I am posting this back to help others. And, yes, I know I don't have to use "~" so much. -T Comments: 1) "@to" is an array, not a string 2) the "To:", "From:", and "Subject:" are headers that you make up yourself. And they

Re: Where is "Subject"?

2017-02-24 Thread ToddAndMargo
On 02/24/2017 04:05 AM, Luca Ferrari wrote: "$Subject$StringFullOfLineFeeds); Guilty as charged. I missed the quote at the end of the line. -- ~~ Computers are like air conditioners. They malfunction when you open windows

Re: Where is "Subject"?

2017-02-24 Thread Brandon Allbery
On Fri, Feb 24, 2017 at 2:50 AM, Luca Ferrari wrote: > On Fri, Feb 24, 2017 at 7:51 AM, ToddAndMargo > wrote: > > Am I blind or is there nowhere to set the subject of an eMail > > in Net::SMTP? > > I suspect it is implementing a quite low-level

Re: Where is "Subject"?

2017-02-24 Thread Luca Ferrari
Seems to me it has to work, but I would suggest a couple of little changes to make the source code more readable (see below): On Fri, Feb 24, 2017 at 9:15 AM, ToddAndMargo wrote: >for @Report -> $Line { $StringFullOfLineFeeds .= ( "$Line" ~ "\n" ); } here I would use

Re: Where is "Subject"?

2017-02-24 Thread ToddAndMargo
On 02/23/2017 11:50 PM, Luca Ferrari wrote: On Fri, Feb 24, 2017 at 7:51 AM, ToddAndMargo wrote: Hi All, Am I blind or is there nowhere to set the subject of an eMail in Net::SMTP? I suspect it is implementing a quite low-level interface: smtp does not know anything

Re: Where is "Subject"?

2017-02-23 Thread Luca Ferrari
On Fri, Feb 24, 2017 at 7:51 AM, ToddAndMargo wrote: > Hi All, > > Am I blind or is there nowhere to set the subject of an eMail > in Net::SMTP? I suspect it is implementing a quite low-level interface: smtp does not know anything about a subject, it simply sends it as a

Re: Where is "Subject"?

2017-02-23 Thread Moritz Lenz
Hi, On 24.02.2017 07:51, ToddAndMargo wrote: > Am I blind or is there nowhere to set the subject of an eMail > in Net::SMTP? > > https://github.com/retupmoca/P6-Net-SMTP You're not blind, just thinking at the wrong level. Net::SMTP expects you to have an email string that contains both the