On Tue, Feb 28, 2017 at 10:04 PM, ToddAndMargo <[email protected] <mailto:[email protected]>> 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__=0ABB0A53DFD693F18f9e8a93df938690918c0ABB0A53DFD693F1 Content-type: image/gif; name="pic15602.gif" Content-Disposition: attachment; filename="pic15602.gif" Content-transfer-encoding: base64 Many thanks, -T -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Having been erased, The document you're seeking Must now be retyped. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
On 03/01/2017 01:51 AM, Fernando Santagata wrote:
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 always use Inline::Perl5 to load the Perl5 module and transparently use it in your program. HTH -- Fernando Santagata
Hi Fernando, I have been looking at how to do this over on Perl 5's Net::SMTP. It has something to do with the data command and you providing your own headers. I am not the first one to have asked this question. I will keep looking. Thank you for the help! -T
