Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: sendsmtpemail Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
MAWilsonPE
Newbie
Newbie
Avatar

Joined: May 30 2008
Location: United States
Online Status: Offline
Posts: 18
Posted: May 30 2008 at 19:21 | IP Logged Quote MAWilsonPE

New PH user on trial version...

I got the TTS to work, getting weather with geturl, but having trouble sending a text message to my cell.

I have an e-mail account with Carolina RR and my cell service is AT&T. Does this look right?

ph_sendsmtpemail("smtp-server.nc.rr.com",25,"mawilsonpe@caro lina.rr.com,mawilsonpe,password","704xxxxxxx@txt.att.net","T est Message","This is a test of the PH sendsmptemail.")

ie: sendsmtpemail("e-mail sender smtp",25,"sender email address,user,password","cell phone email address","subject","text message")

Thanks, Mike

Edited by MAWilsonPE - May 30 2008 at 19:23
Back to Top View MAWilsonPE's Profile Search for other posts by MAWilsonPE
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 30 2008 at 22:23 | IP Logged Quote TonyNo

Welcome aboard!

Looks to be right. Not working?
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
MAWilsonPE
Newbie
Newbie
Avatar

Joined: May 30 2008
Location: United States
Online Status: Offline
Posts: 18
Posted: May 31 2008 at 08:38 | IP Logged Quote MAWilsonPE

No, I am not receiving a message on my phone. Not sure if my problem is in PH, RR or ATT. I can send a message directly from RR and receive it. How can I be sure PH is executing the way I want it to? Can I tell if a msg was sent?

Is their anyway to watch the variable values as a macro runs? The "debug" doesn't catch much, it seems all the local and temp variables clear at the end of any macro an the debug log is nearly empty.
Back to Top View MAWilsonPE's Profile Search for other posts by MAWilsonPE
 
MAWilsonPE
Newbie
Newbie
Avatar

Joined: May 30 2008
Location: United States
Online Status: Offline
Posts: 18
Posted: May 31 2008 at 08:53 | IP Logged Quote MAWilsonPE

Should I get a copy of my message in the "Sent" box of my RR e-mail? I do not.
Back to Top View MAWilsonPE's Profile Search for other posts by MAWilsonPE
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 31 2008 at 10:44 | IP Logged Quote TonyNo

Try entering that command in the web Formula page so you can see the error number.

Are you sure the port is 25? Lots of providers are using different ports.

I'm trying it here and seeing an error 4. Not sure what that is, but I'll figure it out.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 31 2008 at 10:50 | IP Logged Quote TonyNo

The only way to know if the message was sent is to get a 0 result code from that formula.

You can also put it into the PH Multieditor to see the result.

I don't believe it will show up in your sent items.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
jbbtex
Senior Member
Senior Member


Joined: February 15 2007
Location: United States
Online Status: Offline
Posts: 181
Posted: May 31 2008 at 20:22 | IP Logged Quote jbbtex

Try it without the user, password. I have RR here and send emails from PH without authentication.

__________________
Brady

"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton
Back to Top View jbbtex's Profile Search for other posts by jbbtex
 
MAWilsonPE
Newbie
Newbie
Avatar

Joined: May 30 2008
Location: United States
Online Status: Offline
Posts: 18
Posted: May 31 2008 at 20:33 | IP Logged Quote MAWilsonPE

Great! With username and password I got a "4" as a result on the web Formula page. I took out the username and password and now it works! I get a "0" as the result in the web Formula page and I get the text message on my phone. It even works from a macro...

Thanks for your help!

Mike
Back to Top View MAWilsonPE's Profile Search for other posts by MAWilsonPE
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: June 01 2008 at 10:21 | IP Logged Quote TonyNo

I never would have tried that. Since I just did, it works!
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum