Hi, Is it possible to send me the various settings to be done for sendmail to work ?
Thanks Deepak Bhatia On Thu, Sep 17, 2009 at 1:04 PM, Gábor Fási <[email protected]> wrote: > > 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 <[email protected]> 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 = [email protected] >> >> The sample mail file is >> >> <?php >> $to = "[email protected]"; >> $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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
