If you google "how to linux email command line" You'll see you do not need
anything special to send emails from Linux . . .

On Mon, Sep 19, 2016 at 10:37 PM, Hồng Quân Nguyễn <ng.hong.q...@gmail.com>
wrote:

>
> I use mailgun.com to send email. It provides HTTP API.
>
> Here is a part of my code (I use Python and "requests" library to do HTTP
> request):
>
>     message = {
>         'from': 'nore...@farm.agriconnect.vn',
>         'to': addr,
>         'subject': _('Data exported for %(cond_type)s') % (
>             {'cond_type': cond_type}),
>         'text': body
>     }
>     rsp = requests.post(
>         settings.MAILGUN_URL,
>         auth=('api', settings.MAILGUN_API_KEY),
>         data=message,
>         files={'attachment': ('{}.csv.gz'.format(filename), stream)}
>     )
>
> The email to be sent also have a CSV file attached (I'm implementing data
> export).
>
> Conversation via HTTP is less overhead than via SMTP, it is better for a
> low power device like Beagle Bone.
>
> Vào 22:01:44 UTC+7 Thứ Sáu, ngày 19 tháng 8 năm 2016, volk...@gmail.com
> đã viết:
>>
>> Hello all,
>>
>> I am trying to do a (presumably) very simple task.
>> I want my Beaglebone Black (BBB) to send me an email
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/ba5a0152-b271-44f3-a193-4cf5e37849f3%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/ba5a0152-b271-44f3-a193-4cf5e37849f3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORoWVoyRJdsEUQR4KXmmTJanguqpiwALwaYYZSMCawQb4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to