Tuesday, June 1, 2010

Re: EmailComponent - BAD HELO

Have you looked at the RFC specification? Have you done something
based on the information there?

Anyway, the 4.1.1.1. specification starts with:
[extract]
Extended HELLO (EHLO) or HELLO (HELO)
These commands are used to identify the SMTP client to the SMTP
server. The argument field contains the fully-qualified domain name
of the SMTP client if one is available. In situations in which the
SMTP client system does not have a meaningful domain name (e.g., when
its address is dynamically allocated and no reverse mapping record is
available), the client SHOULD send an address literal (see section
4.1.3), optionally followed by information that will help to identify
the client system.
[/extract]

Does the above apply to your issue?
Enjoy,
John

On May 31, 8:23 pm, VitillO <vj.nu...@gmail.com> wrote:
> Hi guys, im having problems using the Email component with SMTP...
>
> app_controller:
>
> $this->Email->smtpOptions = array(
>                 'port'=>'465',
>                 'timeout'=>'30',
>                 'host' => 'ssl://<host>',
>                 'username'=>'<username>',
>                 'password'=>'123456'
>            );
>             /* Set delivery method */
>             $this->Email->delivery = 'smtp';
>
> Then in my users controller i have this:
>
> $this->Email->from    = 'Test <hostname>';
>                                 $this->Email->to      = '<'.$row['User']['email'].'>';
>                                 $this->Email->subject = 'Test';
>                                 //$this->Email->sendAs = 'both'; // because we like to send pretty
> mail
>                                 $this->Email->template = 'forgot_password';
>                                 $this->set('user', $row);
>                                 $this->Email->send();
>
> When i run this action, i get the following:
> 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) ...
>
> I've also tried setting the 'client' key in the smptOptions array to
> the same host, but im still getting:
> 550-"REJECTED - Bad HELO - Host impersonating
>
> Is anyone having this issues with this core component using SMTP and
> SSL options?
>
> Any help is appreciated! :)

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: