Sorry maybe I used the incorrect terms... When outlook sends and email, even if HTML format is chosen, the source of the email still contains these lines....
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C2F52F.777F61A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Test Body
------=_NextPart_000_0015_01C2F52F.777F61A0
Then the HTML appears under this. With Mozilla email set to HTML it is fine.
We have an online application that takes incoming emails and puts them in the database. HTML is the chosen format since it gives us some features when showing the emails or reports.
Anyway I need to pull or by pass the above if it is there since it gets thrown in the database with the rest of the body.
Here is the procmail end of it so far.
:0 * $RECIP ?? [EMAIL PROTECTED] { :0 | (formail -k -X To: -X From: -X Subject: | /home/nepso/nepso-mail/report_gateway.php)
} This is working so far with Mozilla as the client. The nice thing too is it by passes the attachment which was another problem I was having since I do not want those.
Hope this is more clear and thanks Tyler for your time. --Al
Tyler F. Creelan wrote:
On Mar 28 at 5:34pm -0500, Al Nutile wrote:
| We want only html emails for a post. So if there is mime I was hoping | to remove it and process the rest of the email. | The only problem is Outlook has mime in the source even if the person | chooses HTML.. | There have been some post on this but just seeing if there is a more | funtional and clearer answer for this worn out searcher. | --Al
Hmm... honestly I don't understand the question, I thought all html-formatted email had to follow mime format... Are you trying to archive email for a webpage or something?
Tyler
_______________________________________________ procmail mailing list [EMAIL PROTECTED] http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php