Re: smtp question

2017-02-10 Thread Larry Wall
On Fri, Feb 10, 2017 at 06:27:07AM -0500, Brandon Allbery wrote: : If this were Haskell it'd be ByteString. But it's Perl 6 and byte arrays : are too much of a PITA at present, since you can't do string-y things with : them sensibly. The currently suggested workaround is to temporarily pretend

Re: smtp question

2017-02-10 Thread Brandon Allbery
If this were Haskell it'd be ByteString. But it's Perl 6 and byte arrays are too much of a PITA at present, since you can't do string-y things with them sensibly. On Fri, Feb 10, 2017 at 4:23 AM, Francesco Rivetti wrote: > On 2017-02-10 5:51 AM, Brandon Allbery wrote: > >> |3)

Re: smtp question

2017-02-10 Thread Francesco Rivetti
On 2017-02-10 5:51 AM, Brandon Allbery wrote: |3) not finding how to attach a file | Strictly speaking, that is not an SMTP function. You would use a MIME module to generate $message with an attached file. (This would likely be an example of $message not being a Str; it would be some kind of

Re: smtp question

2017-02-09 Thread ToddAndMargo
On 02/09/2017 08:51 PM, Brandon Allbery wrote: On Thu, Feb 9, 2017 at 11:41 PM, ToddAndMargo wrote: I am looking at

Re: smtp question

2017-02-09 Thread Brandon Allbery
On Thu, Feb 9, 2017 at 11:41 PM, ToddAndMargo wrote: > I am looking at > https://github.com/retupmoca/P6-Net-SMTP > > I pretty much understand everything, but > >- > >send($from, $to, $message, :$keep-going) > >Sends an email $message (which can be a Str or

smtp question

2017-02-09 Thread ToddAndMargo
Hi All, I am starting a program (run from crontab) to test some things and eMail diagnostics to me. I am looking at https://github.com/retupmoca/P6-Net-SMTP I pretty much understand everything, but send($from, $to,