Hi,

Just a hint, are you sure that you not just redirect after sending the
mail, and the mail are held back in you local mail queue?

I just know what i have done that a couple of times.. :)

Best regards,
Michael Holm



On Fri, Jun 3, 2011 at 8:00 AM, Haulyn Jason <saharab...@domix.in> wrote:
> Hi,
> I want to send email via sendmail installed local.Then the code in
> Symfony 2 project is:
>
> configuration:
>    mailer_transport="sendmail"
>    mailer_host="localhost"
>    mailer_user=""
>    mailer_password=""
>
>
> PHP Code:
>        $message = \Swift_Message::newInstance()
>                   ->setSubject($shippingBills->getEmailHeader())
>                   ->setFrom('saharab...@domix.in')
>                   ->setTo('saharab...@domix.in')
>
> ->setBody($this->renderView('YunshangSalesBundle:Default:shippingEmail.txt.twig'));
>        $this->get('mailer')->send($message);
>
> When I execute these scripts, the webpage has no errors, but no email
> has been sent, I can not receive anything, and no email recorder via
> SymfonyProfiler.
>
> Any help?
>
>
> Regards,
>
> Haulyn Jason
> Founder, http://domix.in
> Rm. 807, Qilu Software Tower, Qilu Software Park
> 1 Shunhua Rd., High-Tech Development Zone
> Jinan, Shandong 250101, P. R. China
> Tel: +86 158 5410 3759
> Website: http://haulynjason.net
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> 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
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to