Page 1 of 1

SMTP

Posted: Wed Feb 10, 2010 12:56 am
by phaworth
Anyone got rev code to invoke SMTP to send an email?
Thanks,
Pete

Re: SMTP

Posted: Wed Feb 10, 2010 2:38 am
by FourthWorld
Shao Sean's libEmail may do what you need:
http://dark.unitz.ca/~shaosean/pages/development.htm

Re: SMTP

Posted: Wed Feb 10, 2010 3:12 am
by wsamples
Sarah has a nice smtp stack available, too, at :

http://www.troz.net/rev/index.irev?cate ... ary#stacks

Re: SMTP

Posted: Wed Feb 10, 2010 3:36 am
by phaworth
Thanks guys, those stacks do just what I need.
Pete

Re: SMTP

Posted: Wed Feb 10, 2010 11:19 pm
by wsamples
In the interest of thoroughness, in case somebody else searches this topic and finds this thread...

Chipp Walters at Altuit has made a very easy to use stack using Sean Shao's library. You can find it on this page, along with lots of other potentially useful and helpful things:

http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm

:)

Re: SMTP

Posted: Sun Jun 09, 2013 12:04 am
by asawyer13
Shao's stuff seems to have gone away.

I need stmp authentication so I don't think I can use Sarah's Library.

Is there a better way, or is Shao's and Sarah's the best way to send smtp mail?

Re: SMTP

Posted: Sun Jun 09, 2013 4:53 am
by wsamples
asawyer13 wrote:Shao's stuff seems to have gone away.
See the link I posted immediately above your post. Chip's stack is still there and includes Shao's library.

Re: SMTP

Posted: Sun Jun 09, 2013 10:32 am
by asawyer13
Yes, I had downloaded Chipp's stack but it wouldn't send the email for me. I was hoping for some more documentation on Shao's stuff so I could see if it was just a different option that I needed to use. I had checked Authentication on Chipp's stack.

I need to use Port 26 and Chipp's example doesn't allow a different port, so I edited the source in the 2-3 places it mentions Port 25, but it still seems like maybe it's using port 25.

I will check on it some more and see if I can figure out what is wrong.

Thanks
Alan

Re: SMTP

Posted: Sun Jun 09, 2013 10:54 am
by asawyer13
It's definitely using port 26, but HostMonster isn't liking it.

<<< 220-We do not authorize the use of this system to transport unsolicited,


<<< 220 and/or bulk e-mail.


When I've seen this error before it was because port 26 wasn't being used, but it must be something else right now.

I think the problem must be on my side, something with authenticating or the way I'm setting it up.