Connecting Tech Pros Worldwide Forums | Help | Site Map

MIMEDecode Problems

mattoneill
Guest
 
Posts: n/a
#1: Jul 17 '05
Im having problems getting the MIMEDecode PEAR function working, not
sure how it expects the messages to be parsed to it, cause currently
this is not working:


@ $mbox=imap_open("{**************:143}INBOX", "*****", "*******");
$input = imap_body($mbox, 22, FT_INTERNAL);


$params['include_bodies'] = true;
$params['decode_bodies'] = true;
$params['decode_headers'] = true;
//$params['crlf'] = "\r\n";
$params['input'] = $input;


$structure = Mail_mimeDecode::decode($params);
Daniel Tryba
Guest
 
Posts: n/a
#2: Jul 17 '05

re: MIMEDecode Problems


mattoneill <email@moneill.net> wrote:[color=blue]
> Im having problems getting the MIMEDecode PEAR function working, not
> sure how it expects the messages to be parsed to it, cause currently
> this is not working:[/color]

I don't know MIMEDecode, but why don't you use the imap_* functions to
decode?

--

Daniel Tryba

Closed Thread


Similar PHP bytes