Re: How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread ToddAndMargo
On 08/19/2017 10:10 PM, Brandon Allbery wrote: On Sun, Aug 20, 2017 at 12:55 AM, ToddAndMargo > wrote: On 08/19/2017 09:51 PM, Brandon Allbery wrote: I think you only want :starttls. :ssl tells it to expect a socket that immediately negotiates S

Re: How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread Brandon Allbery
On Sun, Aug 20, 2017 at 12:55 AM, ToddAndMargo wrote: > On 08/19/2017 09:51 PM, Brandon Allbery wrote: > >> I think you only want :starttls. :ssl tells it to expect a socket that >> immediately negotiates SSL; the error suggests the mail server doesn't. >> (Note that, because SSL is negotiated im

Re: How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread ToddAndMargo
On 08/19/2017 09:47 PM, ToddAndMargo wrote: On 08/19/2017 09:41 PM, ToddAndMargo wrote: On 08/19/2017 08:46 PM, Alexis wrote: ToddAndMargo writes: https://github.com/retupmoca/p6-Email-MIME How do I do SSL/TLS with eMail-Mime? It looks like that module is only handles creating/modifying

[perl #131932] Inconsistency: `&infix:<^^>` evaluates Callables, but regular `^^` doesn't

2017-08-19 Thread Sam S. via RT
It's the same with && and ||: ➜ &infix:<&&>(1, -> {say 2}); # 2 ➜ say 1 && -> {say 2}; # -> { #`(Block|169403552312) ... } ➜ &infix:<||>(0, -> {say 2}); # 2 ➜ say 0 || -> {say 2}; # -> { #`(Block|786414142008) ... } And also with the loose-precedence versi

Re: How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread ToddAndMargo
On 08/19/2017 09:51 PM, Brandon Allbery wrote: On Sun, Aug 20, 2017 at 12:41 AM, ToddAndMargo > wrote: $client = Net::SMTP.new(:server( $smtp ), :port( $port ), :ssl, :starttls, :debug( 1 ) ) I think you only want :starttls. :ssl tells it to expect a socke

Re: How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread Brandon Allbery
On Sun, Aug 20, 2017 at 12:41 AM, ToddAndMargo wrote: > $client = Net::SMTP.new(:server( $smtp ), :port( $port ), :ssl, :starttls, > :debug( 1 ) ) > I think you only want :starttls. :ssl tells it to expect a socket that immediately negotiates SSL; the error suggests the mail server doesn't. (Not

Re: How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread ToddAndMargo
On 08/19/2017 09:41 PM, ToddAndMargo wrote: On 08/19/2017 08:46 PM, Alexis wrote: ToddAndMargo writes: https://github.com/retupmoca/p6-Email-MIME How do I do SSL/TLS with eMail-Mime? It looks like that module is only handles creating/modifying an email, not /sending/ it; SSL/TLS will be h

Re: How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread ToddAndMargo
On 08/19/2017 08:46 PM, Alexis wrote: ToddAndMargo writes: https://github.com/retupmoca/p6-Email-MIME How do I do SSL/TLS with eMail-Mime? It looks like that module is only handles creating/modifying an email, not /sending/ it; SSL/TLS will be handled (or not) by whatever module you use fo

Re: How do I debug email::mime?

2017-08-19 Thread ToddAndMargo
On 08/19/2017 08:31 PM, ToddAndMargo wrote: Hi All, https://github.com/retupmoca/p6-Email-MIME I am getting bounced (probably because of SSL) at $client.auth( $username, $password ) How do I read back the debug for the above so I can see what the server wants or does not want? Many thanks,

Re: How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread Alexis
ToddAndMargo writes: https://github.com/retupmoca/p6-Email-MIME How do I do SSL/TLS with eMail-Mime? It looks like that module is only handles creating/modifying an email, not /sending/ it; SSL/TLS will be handled (or not) by whatever module you use for actually sending the email you cre

How do I do SSL/TLS with eMail::MIME ?

2017-08-19 Thread ToddAndMargo
Hi All, https://github.com/retupmoca/p6-Email-MIME How do I do SSL/TLS with eMail-Mime? Many thanks, -T -- ~ When we ask for advice, we are usually looking for an accomplice. -- Charles Varlet de La Grange ~~~

How do I debug email::mime?

2017-08-19 Thread ToddAndMargo
Hi All, https://github.com/retupmoca/p6-Email-MIME I am getting bounced (probably because of SSL) at $client.auth( $username, $password ) How do I read back the debug for the above so I can see what the server wants or does not want? Many thanks, -T -- ~~~

[perl #131932] Inconsistency: `&infix:<^^>` evaluates Callables, but regular `^^` doesn't

2017-08-19 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131932] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131932 > The first example below evaluates the code block, while the two examples after it never d

[perl #131919] [RFC] Returning Failure from failed P6-level .parse

2017-08-19 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I had to revert one of the nqp commits related to .parse: https://github.com/perl6/nqp/commit/d4d77b66c46c57de800b147df61fe486b4486acd Here's a ticket for the module that was affected by the change: https://github.com/p6-css/CSS-Module-p6/issues/10 Most certainly we want this change back ASAP, bu

[perl #131919] [RFC] Returning Failure from failed P6-level .parse

2017-08-19 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
The change was moved to v6.d in this commit: https://github.com/rakudo/rakudo/commit/d2278b471cb0bd691dc7a1235fbcb9318ff5d61f On 2017-08-17 08:50:48, alex.jakime...@gmail.com wrote: > See this commit: > https://github.com/rakudo/rakudo/commit/9501edae4f73a970e3270e3b0336a7b3045d3329 > > These roas

[perl #131924] [REGRESSION] \n\r and string concatenation improvements

2017-08-19 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
It was fixed in this commit: https://github.com/MoarVM/MoarVM/commit/5363a0742d9ea7183200a747c2d7531e82bc5c71 samcv++ Tests needed. On 2017-08-18 12:48:20, alex.jakime...@gmail.com wrote: > The issue happens in Email::Simple (one of its tests is now failing, > but it was ok in 2017.07). > > Here'

[perl #131925] [BUG] [REGEX] Smartmatch against `m//` operator mishandles junctions

2017-08-19 Thread Sam S. via RT
bisectable6: say .any ~~ m/a/; smls, On both starting points (old=2015.12 new=e3e29c5) the exit code is 0 and the output is identical as well smls, Output on both points: «False»

[perl #131925] Smartmatching a junction against a regex object vs m// (‘a’|‘b’ ~~ m/‘a’/)

2017-08-19 Thread Sam S. via RT
The problem only appears if `m//` is used directly as the RHS of `~~`: $_ = 'a' | 'b'; say m/a/; # any(「a」, Nil) say $_ ~~ m/a/; # False say $_ ~~ { m/a/ }; # any(「a」, Nil)