Timeline for Sending smtp email from microcontroller
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 11, 2015 at 17:18 | answer | added | Olin Lathrop | timeline score: 0 | |
Nov 11, 2015 at 17:03 | vote | accept | scarlso9 | ||
Nov 6, 2015 at 4:57 | comment | added | Chris Stratton | You may have trouble still finding a service that will accept and pass on SMTP from an unauthenticated origin (or at least one which isn't going to be blacklisted as a spam source by recipients' providers). At the very least, verify that you have a scheme that can can work by using some simple test code on a PC before you put time into an MCU implementation. There are lots of schemes and services out there for reporting data out of embedded devices which are going to be a lot more friendly to an MCU/ESP8266 implementation, probably including ability to generate an email at the server. | |
Nov 5, 2015 at 19:09 | comment | added | jippie | I am not aware of main stream smtp daemons that can be configured to listen on UDP ports. Regular mail servers won't support it anyway. It is however possible as pjc50 mentions to bridge UDP to TCP on a computer (or RPi, BBB, ...) although I doubt that is really the solution you should want to consider. Just use TCP. | |
Nov 5, 2015 at 19:07 | comment | added | jippie | @pjc50 easy to do with [netcat][en.wikipedia.org/wiki/Netcat]. Proven concept on Linux. UDP however isn't really reliable for sending long'ish or important mail messages. | |
Nov 5, 2015 at 18:59 | comment | added | pjc50 | You might find it easier to send to a PC over UDP and then build a UDP-SMTP bridge in a desktop language like C#. | |
Nov 5, 2015 at 18:28 | answer | added | user1844 | timeline score: 7 | |
Nov 5, 2015 at 17:26 | comment | added | scarlso9 | @ jippie So is it not possible over UDP? I can switch to tcp I'm sure, but it would take some extra effort. not that I'm unwilling. | |
Nov 5, 2015 at 17:23 | comment | added | scarlso9 | @Some Hardware Guy Thanks for the quick response! just to be clear since I am very new to this side of things, when you say mail client you mean something such as apples mail app? or could I just login to my ISPs email online? I know most things use ssl which I want to avoid at this point. but I may be confusing myself more here. The wireshark sounds like exactly what I am interested in. | |
Nov 5, 2015 at 16:48 | comment | added | Some Hardware Guy | another very simple test you could observe is using telnet to send an email. Here's an example technet.microsoft.com/en-us/library/aa995718(v=exchg.65).aspx | |
Nov 5, 2015 at 16:47 | comment | added | Some Hardware Guy | I suggest you do this check out the SMTP RFC which is essentially all the info you need on the SMTP protocol tools.ietf.org/html/rfc5321 Then get a mail client on your computer, and install wireshark then send a simple email. You'll be able to watch the whole process bits, bytes, and protocol. That should give you a clear understanding of how this works. | |
Nov 5, 2015 at 16:42 | comment | added | jippie | SMTP is usually used with TCP, not with UDP | |
Nov 5, 2015 at 16:37 | history | asked | scarlso9 | CC BY-SA 3.0 |