Re: Boundaris in Email Component

2009-03-26 Thread brian

Yeah, it looks like it requires this patch (line 490)

} elseif ($this->sendAs === 'both') {
$this->__createBoundary();

Although, if I were to submit a patch, it'd also completely remove the
'html' option. Emails should never be sent as html only.

On Thu, Mar 26, 2009 at 6:49 PM, fr3nch13  wrote:
>
> I noticed that when i sent a multipart/alternative (html and text
> email in 1 using $this->Email->sendAs = 'both') that the boundary is '-
> alt--' with no boundary generated.
>
> I looked at the Email Component's source to see why and it seems a
> boundary is only generated if an attachment is present.
>
> http://api.cakephp.org/view_source/email-component/#line-479
>
> My question is, shouldn't a boundary also be generated if $this->Email-
>>sendAs = both (multipart/alternative)?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Boundaris in Email Component

2009-03-26 Thread fr3nch13

I noticed that when i sent a multipart/alternative (html and text
email in 1 using $this->Email->sendAs = 'both') that the boundary is '-
alt--' with no boundary generated.

I looked at the Email Component's source to see why and it seems a
boundary is only generated if an attachment is present.

http://api.cakephp.org/view_source/email-component/#line-479

My question is, shouldn't a boundary also be generated if $this->Email-
>sendAs = both (multipart/alternative)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---