Errors, etc? If properly configured, it works - just like it does for me. On the other hand, for sending mails I recommend swiftmailer, that has recently been taken over by the creator of symfony, Fabien Potencier; and will become the default mailer solution in the framework [1].
[1] http://fabien.potencier.org/article/33/swift-mailer-takeover On Thu, Sep 17, 2009 at 09:16, DEEPAK BHATIA <toreachdee...@gmail.com> wrote: > > Hi, > > Did anyone used php mail function (on linux) to send email ? > > I have done the required settings on the php.ini > > ; For Unix only. You may supply arguments as well (default: "sendmail -t > -i"). > sendmail_path = /usr/sbin/sendmail -t > sendmail_from = deepak.bha...@nechclst.in > > The sample mail file is > > <?php > $to = "deepak.bha...@nechclst.in"; > $subject = "Training Registration"; > $message = "Thank you for participating in the Technical Certification > training program.\n\n"; > mail($to, $subject, $message); > ?> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---