I`m using it normaly, no extra features or anything.

        function sendMail($to, $subject, $message, $layout = 'default') {
                $subject = '[noreply] ' . $subject;

                $this->Email->to = $to;
                $this->Email->subject =  $subject;
                $this->Email->replyTo = '[email protected]';
                $this->Email->from = 'No Reply<[email protected]>';
                $this->Email->sendAs = 'html';
                $this->Email->layout = $layout;

                return $this->Email->send($message);
        }

On 10 dez, 01:44, "Dr. Loboto" <[email protected]> wrote:
> How do you send email? I don't have such problems with $this->Email-
>
> >send() call (no params).
>
> On Dec 6, 7:57 pm, Mauro Ribeiro <[email protected]> wrote:
>
> > All I have in my template is the html/default.ctp:
>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <html>
> > <body>
> > <?php echo $content_for_layout; ?>
> > </body>
> > </html>
>
> > The message is being written in controller and sent by CakePHP Email
> > Component.
>
> > Even if I use the default text (text/default.ctp), I get the same
> > issue...
>
> > No idea on what what`s going on.
>
> > On 5 dez, 18:52, mike karthauser <[email protected]> wrote:
>
> > > Perhaps you could post the php inside your template so we could see  
> > > it? Also are you sanitizing your email addresses as perhaps there is  
> > > extra characters being captured that you are giving to your view?
>
> > > Mike Karthauser
> > > Brightstorm limited
> > > Tel: 07939252144
>
> > > On 5 Dec 2009, at 12:22, Mauro Ribeiro <[email protected]> wrote:
>
> > > > Hi all!
>
> > > > I`m using the CakePHP Email Component and the resulting email appear
> > > > with some not wanted whitespaces and special characters along the
> > > > HTML.
>
> > > > Sometimes this happens inside <a href=""> tags and break the href
> > > > property.
>
> > > > Here is an example:
>
> > > > -----
>
> > > > <p align="center"><a href="http://www.empreendemia.com.br/users/
> > > > create/
> > > > [email protected]+/XXXXX" target="_blank">http://
> > > >www.empreendemia.com.br/users/create/user.em [email protected] /XXXXX</
> > > > a></p>
>
> > > > -----
>
> > > > It appeared a "+" in href link and some whitespaces inside <a>text</a>
>
> > > > Does someone now what`s happening?
>
> > > > Thanks in advance,
> > > > Mauro
>
> > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 
> > > > others with their CakePHP related questions.
>
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "CakePHP" group.
> > > > To post to this group, send email to [email protected]
> > > > To unsubscribe from this group, send email to
> > > > [email protected] For more options, visit this  
> > > > group athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to