ptonev.com

Products and Projects => php Mail Notification => Topic started by: kerrysl on December 11, 2003, 09:06:17 am



Title: Email details problem
Post by: kerrysl on December 11, 2003, 09:06:17 am
I have been playing with this script trying to get the From and Subject details from checked emails.

I haven't yet got to subject because of problems with From.
I notice that From is already programmed, however what I am finding is that it only gets details from the 2nd, 3rd, 4th, etc emails and never from the first.

The returned information for the first emails is always;
Quote
+OK 799 octets
and not the data.

Why does it treat the first email differently to the rest of the emails? How can this be fixed to grap the From from every new email in the account?

Kerry.


Title: Email details problem
Post by: ptonev on December 11, 2003, 06:01:46 pm
Quote
I have been playing with this script trying to get
the From and Subject details from checked emails.


You can get 'Subject' but that your composed email will be joint large.

Quote
I haven't yet got to subject because of problems with From.


That is a very strange.
I don't have problem with get on 'From' except where email(s) is larges (more that 140K).
I plan to fix this problem shortly.

Quote
I notice that From is already programmed, however what I am
finding is that it only gets details from the 2nd, 3rd, 4th, etc
emails and never from the first.

This is not right.
If you talk about $list[] array that I use in __mnotify_read_mails()
function, first item is count of items.