Net::SMTP raw, where is the username and password?

2017-07-09 Thread ToddAndMargo
Hi All, From: https://github.com/retupmoca/P6-Net-SMTP # raw interface my $client = Net::SMTP.new(:server("your.server.here"), :port(587), :debug, :raw); $client.get-response; # 220 your.server.here ... $client.ehlo; # 250-STARTTLS\r\n250 ... $client.mail-from('f...@your.server.here'); # 250

Re: [retupmoca/P6-Net-SMTP] RFE: attachments (#14)

2017-07-09 Thread ToddAndMargo
On 07/08/2017 02:58 AM, timo wrote: @ToddAndMargo here's how to create an email with attachments: |my $image = "P5\n64 64\n255\n".encode("utf8") ~ Buf[int8].new( do for -32..^32 X -32..^32 -> ($x, $y) { 255 - (sqrt($x ** 2 + $y ** 2) * 4 % 255).ceiling });

Re: ping TImo: buf as a print

2017-07-09 Thread Timo Paulssen
If you want to look at what the Buf contains, you need to "say $image" or "print $image.gist" or "print $image.perl". If you want to put it into a file, use spurt (which can accept a Buf and realize it's supposed to write out binary), or use the write method on a file handle (best opened with

Re: ping TImo: buf as a print

2017-07-09 Thread Elizabeth Mattijsen
> On 9 Jul 2017, at 07:32, ToddAndMargo wrote: > > On 07/08/2017 02:58 AM, timo wrote: >> @ToddAndMargo here's how to create an >> email with attachments: >> my $image = "P5\n64 64\n255\n".encode("utf8") ~ Buf[int8].new( do for >>