Page 1 of 1
SBL2e & Email
Posted: Sat Jul 31, 2010 10:21 am
by cmo
Ok, my last question on SBL2e specifics. I'd like to send email using the SBL2e. However, I see that the mailto.h/mailto.cpp has not been ported over to this device. Does anyone have a working example I can use? When I try to import those files, I get a host of errors.
Thanks in advance.
Re: SBL2e & Email
Posted: Tue Aug 03, 2010 2:18 pm
by rnixon
Since the stacks are different, your never going to be able to just copy files from one stack and have them work on the other. They are fundamentally different in how they operate. The fastest route to getting an answer on an unsupported protocol might be to go to their support site directly rather than the forum, although it is interesting to see what people are doing with this tiny device.
Re: SBL2e & Email
Posted: Tue Aug 03, 2010 3:20 pm
by pbreed
With he SBL2E assume that none of the code for the larger netburner platforms can come across unmodified.
The SBL2E is low cost, but for equavlant apps I would expect 4X as much developer time with the SBL2E as the larger platforms.
So unless you are shipping thousands of units you will never recoup the development cost difference.
Given that there is an SBL2E example to send E-mail.
look in nburn\examples\sbl2e\tcpsendmail
Paul
Re: SBL2e & Email
Posted: Tue Aug 03, 2010 3:42 pm
by Forrest
Here's some source that allows you to send an email message with an L2e device. This follows the e-mail RFC to communicate with a server.
You will need to find the commented TODO's and add relevant information (server IP, device IP, email to and from address')
Not all mail servers will support this unauthenticated mail.
Re: SBL2e & Email
Posted: Tue Aug 03, 2010 6:16 pm
by cmo
Forrest:
Thanks for the code, unfortunately, I need to authenticate the smtp user.
Paul, did you say there was an example? I don't have a nburn\examples\sbl2e\tcpsendmail folder or project. The closest thing is tcpClient. Maybe my CD is out of date, is there a place I can download it?
I really appreciate the help. Thanks again.
Re: SBL2e & Email
Posted: Wed Aug 04, 2010 10:21 am
by pbreed
I thought that project was complete, it is not.
I'm out of the office next week and my list of commitments to complete before I leave is larger than I can get done.
I'll try and get another engineer to finish that project.
Its possible it may not be complete before I return and can review it.
Paul