ptonev.com

Products and Projects => php Mail Notification => Topic started by: David McKay on January 27, 2006, 07:23:32 pm



Title: Attempting to change your awesome script...
Post by: David McKay on January 27, 2006, 07:23:32 pm
I'm a coach for several sports, and I've been using your script for about a year now.  It has worked VERY well.

I've been trying to figure out how to change the php file so I get the following results:

No subject, no account email in the body, and have the body list the following:

sender, subject, time sent

Any suggestions?


Title: Attempting to change your awesome script...
Post by: ptonev on January 30, 2006, 12:49:11 pm
Hi,

for this customization I need to update scrept.

I try to make this in next week.

best regards,


Title: Wow - that would be great!
Post by: David McKay on January 31, 2006, 11:46:55 pm
Thanks very much!  That will help me stay in touch with my student athletes.

David McKay


Title: Any luck on the script update?
Post by: David McKay on February 21, 2006, 02:27:26 am
Any luck on the script update?


Title: Attempting to change your awesome script...
Post by: ptonev on April 14, 2006, 03:48:58 pm
Hi,

sorry for big delay...

Now you can download and try to use php IMAP Mail Notification 0.1.0.2 version on script. It is a customized for you.

Sorry, but I can't make php Mail Notification becosue I have something problem with extract on emai and etc. parameters.

Script can download from http://www.ptonev.com/project.php?lang=en&id=phpImapMailNotify

Best regards,


Title: Trying the new script, getting an error
Post by: David McKay on April 14, 2006, 07:23:32 pm
PHP Fatal error:  Call to undefined function:  imap_open() in /usr/local/.../phpIMAPMailNotification.php on line 71

I'm running mod_php4 + php4-cli...


Title: Attempting to change your awesome script...
Post by: ptonev on April 14, 2006, 08:16:24 pm
Hi,

You must have a IMAP extension.

This is a difference between php Mail Notification and php IMAP Mail Notification.


Title: Ok, I've got an IMAP extension - new error...
Post by: David McKay on April 14, 2006, 08:32:42 pm
PHP Notice:  Unknown(): Mailbox is empty (errflg=1) in Unknown on line 0


Added a message to the mailbox and got this error:

PHP Notice:  Undefined variable:  sep in /usr/local/.../phpIMAPMailNotification.php on line 109
[], [user@mdtsoft.com - test - April 14, 2006, 10:48 am
]<b>


Title: Attempting to change your awesome script...
Post by: ptonev on April 14, 2006, 09:18:37 pm
Hi,

Stop PHP Notice... This is not need to show....

I know that sep is not define but this is not fatal error. This is a Notice...

Set error_reporting(E_ERROR | E_WARNING); on first line after <?php


Title: Great! Now....
Post by: David McKay on April 14, 2006, 11:05:35 pm
Per the original request, what settings do I use in the .cfg file to obtain:

No subject;
No account email in the body;
In the body list the following: sender, subject, time sent.


Title: Attempting to change your awesome script...
Post by: ptonev on April 15, 2006, 12:24:42 am
Hi,

use this format for setting ....

#host;user;password;mailto;subject text;body text
host;user;password;mailto;info;%emails%

now %emails% param content sender, subject and time sent.

try it....