[Kiev-pm] Fwd: Re: [mojolicious-plugin-mail] SSL/TLS support (#11)
Анатолий Шарифулин
sharifulin at gmail.com
Sat Aug 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
hint?
Regards
Rolf
-------- 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
<https://github.com/**sharifulin/mojolicious-plugin-**
mail/issues/11#issuecomment-**22736804<https://github.com/sharifulin/mojolicious-plugin-mail/issues/11#issuecomment-22736804>
>.
--
Rolf Stöckli
Villa
CH-8765 Engi
Tel. +41 55 642 25 88
www.facebook.com/vaslovag
--
С уважением,
Анатолий Шарифулин.
----------- ���� ���-----------
÷ÌÏÖÅÎÉÅ × ÆÏÒÍÁÔÅ HTML ÂÙÌÏ ÉÚ×ÌÅÞÅÎÏ…
URL: <http://mail.pm.org/pipermail/kiev-pm/attachments/20130818/c20f9aa7/attachment.html>
More information about the Kiev-pm
mailing list