Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: ph_sendemail trouble Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
JSpaeth
Newbie
Newbie


Joined: May 06 2009
Online Status: Offline
Posts: 7
Posted: June 05 2009 at 16:41 | IP Logged Quote JSpaeth

I'm trying to send myself an email when a trigger fires. PH says that the email was sent and outlook tries to send it but gets a returned administrator email. I'm using the following command:



ph_sendemail("email address", "The Garage Door Has Been Opened", "The garage door has been opened at home")

I'm getting the following error in outlook:



Your message did not reach some or all of the intended recipients.

       Subject:  &nbs p;  The Garage Door Has Been Opened
       Sent:  & nbsp;& nbsp; 6/5/2009 4:33 PM

The following recipient(s) could not be reached:

      'email address' on 6/5/2009 4:33 PM
               None of your e-mail accounts could send to this recipient.

I've tried multiple addresses. Outlook sends fine to this address on its own. Any ideas?

**EDIT -- Problem Solved. The issue was Outlook. I installed a different MAPI client and all works fine.



Edited by JSpaeth - June 05 2009 at 23:01
Back to Top View JSpaeth's Profile Search for other posts by JSpaeth
 
veropierre
Groupie
Groupie
Avatar

Joined: May 06 2009
Location: United States
Online Status: Offline
Posts: 47
Posted: June 06 2009 at 09:03 | IP Logged Quote veropierre

Try to use the SMTP version:

ph_sendsmtpemail("smtp.domain.com",25,"address_from@domain.c om,account,password,address_to@whateverdomain.com,"subject line","email body")

The SMTP version works great and you don't need Outlook to run to send emails.

__________________
37 Insteon Switches + 14 Lamp Modules + 7 ControLinc + 2 RemoteLinc + 3 Insteon Thermostats + 8 Zones Sprinklers + several X10 + Power Home 2.1.4 = Happy Camper
Back to Top View veropierre's Profile Search for other posts by veropierre Visit veropierre's Homepage
 
edtude
Groupie
Groupie
Avatar

Joined: July 26 2006
Location: United States
Online Status: Offline
Posts: 64
Posted: July 12 2009 at 13:58 | IP Logged Quote edtude

veropierre wrote:
Try to use the SMTP version:

ph_sendsmtpemail("smtp.domain.com",25,"address_from@domain.c om,account,password,address_to@whateverdomain.com,"subject line","email body")

The SMTP version works great and you don't need Outlook to run to send emails.


I agree with Vero, use the ph-sendsmtpemail function it works so nice. I am going to drive my kids nuts with it by sending them reminders of Birthdays and such. The deeper you dig the better PH gets.
Back to Top View edtude's Profile Search for other posts by edtude
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: July 16 2009 at 14:50 | IP Logged Quote jeffw_00

one possibility is that your smtp provider validates you via receive-then-send. I.e., no username/password is required during send, but you must have done a POP (w/username/password) within the last N minutes for the send to be allowed.
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 

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