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.
SBL2e & Email
Re: SBL2e & Email
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
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
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
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.
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.
- Attachments
-
main.cpp
- (2.95 KiB) Downloaded 310 times
Forrest Stanley
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Re: SBL2e & Email
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.
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
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
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