SMTP

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
phaworth
Posts: 592
Joined: Thu Jun 11, 2009 9:51 pm

SMTP

Post by phaworth » Wed Feb 10, 2010 12:56 am

Anyone got rev code to invoke SMTP to send an email?
Thanks,
Pete

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: SMTP

Post by FourthWorld » Wed Feb 10, 2010 2:38 am

Shao Sean's libEmail may do what you need:
http://dark.unitz.ca/~shaosean/pages/development.htm
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: SMTP

Post by wsamples » Wed Feb 10, 2010 3:12 am

Sarah has a nice smtp stack available, too, at :

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

phaworth
Posts: 592
Joined: Thu Jun 11, 2009 9:51 pm

Re: SMTP

Post by phaworth » Wed Feb 10, 2010 3:36 am

Thanks guys, those stacks do just what I need.
Pete

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: SMTP

Post by wsamples » Wed Feb 10, 2010 11:19 pm

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

:)

asawyer13
Posts: 53
Joined: Sun Jun 24, 2007 4:47 pm

Re: SMTP

Post by asawyer13 » Sun Jun 09, 2013 12:04 am

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?

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: SMTP

Post by wsamples » Sun Jun 09, 2013 4:53 am

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.

asawyer13
Posts: 53
Joined: Sun Jun 24, 2007 4:47 pm

Re: SMTP

Post by asawyer13 » Sun Jun 09, 2013 10:32 am

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

asawyer13
Posts: 53
Joined: Sun Jun 24, 2007 4:47 pm

Re: SMTP

Post by asawyer13 » Sun Jun 09, 2013 10:54 am

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.

Post Reply