Forums / Developer / ezMail , multipart/mixed and boundary

ezMail , multipart/mixed and boundary

Author Message

william blanc dit jolicoeur

Monday 18 February 2008 3:35:18 pm

Hi,
Is it possible to send multipart email with ezMail ?
I tried to set the right contentType:

       $mail->setContentType('multipart/mixed' );
 

But I don't know how to specify text part and html part.
The part set in setBody() isn't display in the email I receive.

Does anyone have an idea for this?

--
William

Felix Laate

Monday 18 February 2008 3:55:37 pm

Hi

this is the definition of the setContentType() function:

eZMail::setContentType(  	
                $type = false,
		$charset = false,
		$transferEncoding = false,
		$disposition = false,
		$boundary = false	 
	) 	

 

Try to set the parameters accordingly.

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com