ptonev.com

Products and Projects => php Mail Notification => : David McKay January 27, 2006, 07:23:32 PM



: Attempting to change your awesome script...
: David McKay 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?


: Attempting to change your awesome script...
: ptonev 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,


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

David McKay


: Any luck on the script update?
: David McKay February 21, 2006, 02:27:26 AM
Any luck on the script update?


: Attempting to change your awesome script...
: ptonev 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,


: Trying the new script, getting an error
: David McKay 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...


: Attempting to change your awesome script...
: ptonev 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.


: Ok, I've got an IMAP extension - new error...
: David McKay 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>


: Attempting to change your awesome script...
: ptonev 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


: Great! Now....
: David McKay 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.


: Attempting to change your awesome script...
: ptonev 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....


Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.