[beagleboard] Re: How to Send email via Beaglebone Black?

2017-01-28 Thread 'woody stanford' via BeagleBoard
OK, best way (and this really is an IoT question if you look at it) is to look at the most efficient (ie. fastest, least labor intensive) way of doing it. BBB's are small, so please don't try to install an SMTP server and stuff on it when you can do this. The mutt and the HTTP API approach are

Re: [beagleboard] Re: How to Send email via Beaglebone Black?

2016-09-20 Thread William Hermans
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 wrote: > > I use mailgun.com to send email. It provides HTTP API. > > Here is a part of my code

[beagleboard] Re: How to Send email via Beaglebone Black?

2016-09-19 Thread Hồng Quân Nguyễn
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') % (

[beagleboard] Re: How to Send email via Beaglebone Black?

2016-08-20 Thread Mark A. Yoder
There's an email example in the bone101 examples already on the current Bone images. Try: bone$ *cd /usr/share/bone101/examples/cookbook/06-iot * (For newest images) If that doesn't work try bone$ c*d /var/lib/cloud9/examples/cookbook/06-iot* If that doesn't work you need to update your image.

[beagleboard] Re: How to Send email via Beaglebone Black?

2016-08-19 Thread Wally Bkg
IMHO the simplest way to do it is setup a free Gmail account and enable imap/pop support on it. Then install mutt on your BBB and configure it to send the email through Gmail. Then on the BBB do something like system("echo 'No Heartbeat:' `/bin/date` | /usr/bin/mutt -s ' Problem!' --