Author |
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: December 18 2008 at 11:13 | IP Logged
|
|
|
I just set up an email alert system when inhouse motion
is detected but discovered issues with it.
I have been using ph_sendemail in conjunction with
Outlook Express running on my XP web server, but find
that Outlook Express has started throwing a wrench into
the affairs!
It keeps wanting to know if I want to compact my files
and until I acknowledge that request holds up PH sending
out the mail. That approach hardly works if I am away
from home and want to be notified of an intrusion!
I thought that using ph_sendsmtpemail might solve this
problem by bypassing Outlook Express, but I'm not
getting any results. Am I correct that the smtp approach
eliminates the need for Outlook express and allows PH to
send the mail directly via my Yahoo smtp service?
If that is correct, then I at least know that the non-
send issues lie with my construction of the ph command
and at least can start looking there?
PS - alternatively does anyone know of a way to stop
Outlook Express from requesting acknowledgment of the
compaction process and just going ahead and doing it?
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: December 18 2008 at 13:24 | IP Logged
|
|
|
A neighbor went on vacation for several weeks and on return had a large amount of unread email. Once the backlog of email was read and deleted Outlook Express no longer asked about compression. Looked like there was some file size that triggered the compression question.
__________________ Lee G
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: December 18 2008 at 13:26 | IP Logged
|
|
|
ph_sendsmtpemail is a solution, but Outlook Express would still be an issue if you use email control.
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: December 18 2008 at 13:54 | IP Logged
|
|
|
Tony - I came to the same conclusion myself, so Removed
Outlook Express from Windows and replaced it with
Eudora.
Just started testing that to see what happens, but am
hopeful.
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: December 18 2008 at 15:12 | IP Logged
|
|
|
OK - getting to be one frustrated unhappy camper here.
We leave for vacation tomorrow night and all is falling
apart just when I need it to work.
Outlook Express worked with ph email functions except
that it hung up every day waiting for a response from me
re: Compaction.
So I removed it, and installed Eudora. I can send and
receive messages fine from the Eudora application but
can not get it to work with ph.
To get things down to the simplest mode I am initially
just trying to get the following to work (literally,
this is exactly what I am trying to send)....
ph_sendemail("kenburkhalter@yahoo.com","Label","Message"
)
It gives an error return of "1" (meaning it cannot log
into Yahoo). I assume that ph works with more than just
the Microsoft offerings, or does it. Eudora is the only
email App on my computer, so clearly the default
application.
Any thoughts (urgently needed) and gratefully received!
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: December 18 2008 at 15:14 | IP Logged
|
|
|
PS- to above post. I tried to get around all this by
using ph_sendsmtpemail and got it to work but could not
get the ph_sendsmtpemailfile cmmd to work so went back
to regular plain sendemail.
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: December 18 2008 at 15:36 | IP Logged
|
|
|
OK - really trying different approaches. If I can get
rid of the local email application I think it would be
helpful as I don't need it otherwise, so trying again to
get the smtp-mail functions to work.
I am able to get the following to work fine every time
...
Code:
ph_sendsmtpemail("plus.smtp.mail.yahoo.com",25,"ke
nburkhalter@yahoo.com,kenburkhalter,password","kenburkha
lter@yahoo.com","test subject","message")
|
|
|
I get a result code of 0 and the message goes right out.
But when I try to send an attached file with ...
Code:
ph_sendsmtpemailfile("plus.smtp.mail.yahoo.com",25
,"kenburkhalter@yahoo.com,kenburkhalter,password","kenbu
rkhalter@yahoo.com","test
subject","message","C:\cam_1.jpg") |
|
|
it fails every time with a result code of 10.
The camera image (cam_1.jpg) is there and a fine file.
HELP!!!!!!!!!
If I can get the attached file function to work, I have
everything I need.
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|
www4d Newbie
Joined: April 02 2009
Online Status: Offline Posts: 1
|
Posted: April 02 2009 at 12:52 | IP Logged
|
|
|
Hi Ken,
new PH user here (evalutaing). did you ever find a solution to this? I'm having the exact same problem, except using a different smtp server (bluebottle). it works with ph_sendsmtpemail, but not with ph_sendsmtpemailfile. I don't know if its at the smtp server side or a bug in the ph code?
Thx for any help!
-W
|
Back to Top |
|
|
GadgetGuy Super User
Joined: June 01 2008 Location: United States
Online Status: Offline Posts: 942
|
Posted: April 03 2009 at 08:11 | IP Logged
|
|
|
-W
It turns out that this is a systemic problem in PH
itself due to the email handler routines used.
Dave is aware of the issue and believes he has corrected
it successfully. The next release of PH (late April?)
will have the new email handlers and attached pictures
should then work.
In the meantime, if you have any alternative email
services you can use, you might try one of those. The
attached image failure seems to also be related to the
email service (ISP) protocol differences too, and that
might help you in the short term.
__________________ Ken B - Live every day like it's your last. Eventually, you'll get it right!
|
Back to Top |
|
|