;) You are welcome, man. Mauro Casula *symfony-framework.com*
On Tue, Jun 3, 2008 at 9:38 AM, Sylver <[EMAIL PROTECTED]> wrote: > > Thanks, it works :) > > On 3 juin, 09:35, "Mauro Casula" <[EMAIL PROTECTED]> wrote: > > Hi, > > > > it's very simple... > > > > Watch this: > > > > public function executeEnviarCorreoContacto() > > { > > // If validation is ok... > > $this->nombre = $this->getRequestParameter('nombre'); > > $this->apellido = $this->getRequestParameter('apellido'); > > $this->email = $this->getRequestParameter('email'); > > $this->telefono = $this->getRequestParameter('telefono'); > > $this->asunto = $this->getRequestParameter('asunto'); > > > > // class initialization > > $mail = new sfMail(); > > $mail->setCharset('Latin1'); > > $mail->setContentType('text/html'); > > // definition of the required parameters > > $mail->setSender('[EMAIL PROTECTED]', 'domain.com'); > > $mail->setFrom('[EMAIL PROTECTED]', 'domain.com'); > > $mail->addReplyTo('[EMAIL PROTECTED]'); > > > > $mail->addAddress('[EMAIL PROTECTED]'); > > $mail->addAddress('[EMAIL PROTECTED]'); > > $mail->addCc('[EMAIL PROTECTED]'); > > > > $mail->setSubject('domain.com - New Contact from page'); > > > > $this->mail = $mail; > > } > > > > Best regards. > > > > Mauro Casula. > > *symfony-framework.com* > > > > On Tue, Jun 3, 2008 at 9:22 AM, Sylver <[EMAIL PROTECTED]> wrote: > > > > > Hey guys ! > > > I use this example to send an email : > > >http://www.symfony-project.org/askeet/1_0/en/12 > > > and it works. > > > But, some letters don't work like é, è, à... > > > Can send an email in UTF-8 ? > > > > > Thanks. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---