Author |
|
JSpaeth Newbie
Joined: May 06 2009
Online Status: Offline Posts: 7
|
Posted: June 05 2009 at 16:41 | IP Logged
|
|
|
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 |
|
|
veropierre Groupie
Joined: May 06 2009 Location: United States
Online Status: Offline Posts: 47
|
Posted: June 06 2009 at 09:03 | IP Logged
|
|
|
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 |
|
|
edtude Groupie
Joined: July 26 2006 Location: United States
Online Status: Offline Posts: 64
|
Posted: July 12 2009 at 13:58 | IP Logged
|
|
|
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 |
|
|
jeffw_00 Super User
Joined: June 30 2007
Online Status: Offline Posts: 929
|
Posted: July 16 2009 at 14:50 | IP Logged
|
|
|
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 |
|
|