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

2017-07-11 Thread ToddAndMargo
Hi Timo, Part of the issue was that my firewall did not like my smtp port, so I chose another one. And I got it working as soon as I understood the headers. Email::MIME.create( header => [ "Content-Transfer-Encoding" => "base64" ], attributes => [ content-type => "application/zip; name=

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

2017-07-11 Thread ToddAndMargo
Hi Timo, Part of the issue was that my firewall did not like my smtp port, so I chose another one. And I got it working as soon as I understood the headers. Email::MIME.create( header => [ "Content-Transfer-Encoding" => "base64" ], attributes => [ content-type => "application/zip; name=

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

2017-07-10 Thread Timo Paulssen
On 10/07/17 06:48, ToddAndMargo wrote: > Hi Timo, > > I don't understand. How do you sent this to Net::SMTP? > Where is the SMTP server's address and user name? In > Net::SMTP by chance? > > I have successfully used Net::SMTP before, but I don't get what you > are saying. > > I am confused. :'(

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 }); my

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 });|