Re: Net::SMTP attachments?

2017-03-01 Thread Brandon Allbery
Hm, I left out what are probably the most important parts. 1. The number one complaint I hear about CPAN is more or less the same story I just told about trying to buy a radio. 2. We organize finding stuff for engineers --- the folks who work with the parts. We don't do very much for the folks wh

Re: Net::SMTP attachments?

2017-03-01 Thread Brandon Allbery
That's why I said "bury". The basic problem here is a conflict between a mindset that builds stuff up from smaller parts, and the needs of people who need to use the higher level stuff. Building up from components is good for many reasons. But people who want to buy a car don't expect to be handed

Re: Net::SMTP attachments?

2017-03-01 Thread Bennett Todd
Well, tastes can reasonably differ on that point. Bunging all of the complexity, of implementation, of design tradeoffs, and of documentation, into one big module might suit some tastes. Not mine, as either an implementor or a user. Not all uses need all components, and I for myself would rathe

Re: Net::SMTP attachments?

2017-03-01 Thread ToddAndMargo
On 03/01/2017 01:27 PM, Brandon Allbery wrote: On Tue, Feb 28, 2017 at 4:04 PM, ToddAndMargo mailto:toddandma...@zoho.com>> wrote: Anyone know how to do an attachment with Net::SMTP. Didn't you ask that a couple months ago, and I told you to look for a MIME module? Yes, but it didn't si

Re: Net::SMTP attachments?

2017-03-01 Thread Brandon Allbery
On Tue, Feb 28, 2017 at 4:04 PM, ToddAndMargo wrote: > Anyone know how to do an attachment with Net::SMTP. Didn't you ask that a couple months ago, and I told you to look for a MIME module? I am starting to think that Net::SMTP and other low level modules need to be buried somehow; people tend

Re: Net::SMTP attachments?

2017-03-01 Thread ToddAndMargo
On 03/01/2017 12:03 PM, yary wrote: On Wed, Mar 1, 2017 at 3:01 PM, yary mailto:not@gmail.com>> wrote: On Wed, Mar 1, 2017 at 2:54 PM, ToddAndMargo mailto:toddandma...@zoho.com>> wrote: MIME::Lite Sorry not MIME::Lite but "a number of alternatives, like Email::MIME or MIME::E

Re: Net::SMTP attachments?

2017-03-01 Thread yary
On Wed, Mar 1, 2017 at 3:01 PM, yary wrote: > On Wed, Mar 1, 2017 at 2:54 PM, ToddAndMargo > wrote: > >> MIME::Lite > > Sorry not MIME::Lite but "a number of alternatives, like Email::MIME or MIME::Entity and Email::Sender, which you should probably use instead. " -y

Re: Net::SMTP attachments?

2017-03-01 Thread yary
On Wed, Mar 1, 2017 at 2:54 PM, ToddAndMargo wrote: > MIME::Lite That's the key- use MIME::Lite to build the headers and body of an email that has an attachment. Then use Net::SMTP, either the perl5 or perl6 version, to send it. SMTP knows nothing about attachments. MIME::Lite takes all the bi

Re: Net::SMTP attachments?

2017-03-01 Thread ToddAndMargo
On Tue, Feb 28, 2017 at 10:04 PM, ToddAndMargo mailto:toddandma...@zoho.com>> wrote: Hi All, Anyone know how to do an attachment with Net::SMTP. I need to attach a tar ball. I see this is Thunderbird's message source, but .. --0__=0ABB0A53DFD693F18f9e8a93df938690918c0A

Re: Net::SMTP attachments?

2017-03-01 Thread Fernando Santagata
Hi, Net::SMTP manages the SMTP protocol: the email transfer from one server to the next one; it doesn't "build" an email. As far as I can see, there's no Perl6 module to create a MIME email, such as the MIME::Lite Perl5 module. This doesn't mean that there's no way to do that using Perl6: you can