[Moscow.pm] Fwd: Re: [mojolicious-plugin-mail] SSL/TLS support (#11)

Анатолий Шарифулин sharifulin на gmail.com
Сб Авг 17 20:28:14 PDT 2013


Если кому-то интересно и/или есть желание и понимание темы, прошу включится
в разговор и предложить верное решение, готов сделать контрибьютором.

У меня сейчас не так много времени на это, плюс я не вижу задач, где можно
было это применить в моих задачах/проектах.

Заранее спасибо)

use Perl or die;

---------- Forwarded message ----------
From: Rolf Stöckli <info на tokon.net>
Date: Sat, Aug 17, 2013 at 8:51 PM
Subject: Fwd: Re: [mojolicious-plugin-mail] SSL/TLS support (#11)
To: Анатолий Шарифулин <sharifulin на gmail.com>

Hello Anatoly,
Before I start, I need some decisions from you.
I've had different ideas how to solve this. My actual idea is:

- Create a package Mojolicious::Plugin::Mail::**SMTPS, similar to
MIME::Lite::SMTP, but using Net::SMTPS

- Create a subroutine reference $send_by_smtps analogue to
MIME::Lite->send_by_smtp, that uses MIME::Lite::SMTP instead.

- If howargs contains an "encryption" parameter, send the message with
$msg->send_by_sub($send_by_**smtps, @args), if not, send it as usual.

Do you think this could be solved in this way?

Then I have, once again, the question about the testing. Like the other
time with the $howargs as parameter from ->mail(), I've no idea how to test
such a change, because it only affects the actual transmission of the
message, and in testing the message isn't sent. In my new program, I send
messages to a test account, retrieve them from there and check their
content, but this doesn't work in public code. Can you please give me a


-------- Original-Nachricht --------
Betreff:        Re: [mojolicious-plugin-mail] SSL/TLS support (#11)
Datum:  Thu, 15 Aug 2013 15:55:04 -0700
Von:    Anatoly Sharifulin <notifications на github.com>
Antwort an:     sharifulin/mojolicious-plugin-**mail
<reply+i-17852640-**1ff96590d4f46fea883429119c773b**8aaa38be7d-466122 на reply.
**github.com<reply%2Bi-17852640-1ff96590d4f46fea883429119c773b8aaa38be7d-466122 на reply.github.com>
An:     sharifulin/mojolicious-plugin-**mail
<mojolicious-plugin-mail@**noreply.github.com<mojolicious-plugin-mail на noreply.github.com>
Kopie (CC):     Tekki <info на tokon.net>

No, are you?
You can send me pull request.

Reply to this email directly or view it on GitHub

Rolf Stöckli
CH-8765 Engi
Tel. +41 55 642 25 88

С уважением,
 Анатолий Шарифулин.
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://mail.pm.org/pipermail/moscow-pm/attachments/20130818/c20f9aa7/attachment.html>

Подробная информация о списке рассылки Moscow-pm