In the original 4.0 release, it wasn't working, but according to the documentation, it's now supported! http://swiftmailer.org/docs/smtp-transport
That's great news, because the library is so much more powerful that phpMailer. Sorry for the misinformation. On Fri, Sep 18, 2009 at 9:29 AM, david <[email protected]> wrote: > > TLS used to work with swift mail - has support been dropped? > > > > On Fri, 18 Sep 2009 14:50:36 +0200, Patrick Cummins > <[email protected]> wrote: > > > If your exchange machine requires TLS, you need to use something other > > than > > Swift. If you use phpMailer, the authentication code is.. > > > > $this->IsSMTP(); > > $this->SMTPDebug = 2; > > $this->SMTPAuth = true; > > $this->SMTPSecure = "tls"; > > $this->Host = "smtp.yourexchangehost.com"; > > $this->Username = 'yourdomain\yourusername'; // setup this way if you are > > using domain authentication > > $this->Password = '*****'; > > > > If you don't need TLS to connect to exchange, then you just need to test > > that the mail() function works on your server, like Eno said. > > > > > > > > On Fri, Sep 18, 2009 at 12:53 AM, DEEPAK BHATIA > > <[email protected]>wrote: > > > >> > >> Hi, > >> > >> Shall I use PHP Mailer or Swift Mail ? > >> > >> Regards > >> > >> Deepak > >> > >> On Thu, Sep 17, 2009 at 11:37 PM, Patrick Cummins > >> <[email protected]> > >> wrote: > >> > Yes... I was talking about sending through SMTP (on an exchange > >> server). > >> > > >> > Some exchange servers require TLS, not just SSL. > >> > > >> > > >> > > >> > On Thu, Sep 17, 2009 at 12:40 PM, DEEPAK BHATIA > >> <[email protected] > >> > > >> > wrote: > >> >> > >> >> Hi, > >> >> > >> >> Do you mean SSL ? But I am not taking about TLS. > >> >> > >> >> The mail function of PHP uses sendmail on linux. > >> >> > >> >> When I execute above php page, the mail is not going to the > >> recipietn. > >> >> > >> >> I hope we understand each other. > >> >> > >> >> Regards > >> >> > >> >> Deepak > >> >> > >> >> On Thu, Sep 17, 2009 at 9:04 PM, pcummins <[email protected]> > >> wrote: > >> >> > > >> >> > Deepak, > >> >> > > >> >> > I shared your gripes. Swift mailer does not support TLS yet, > >> which is > >> >> > required for many exchange servers. PHPMailer does > >> >> > > >> >> > > >> >> > > >> >> > On Sep 17, 8:46 am, Eno <[email protected]> wrote: > >> >> >> On Thu, 17 Sep 2009, DEEPAK BHATIA wrote: > >> >> >> > How do we set "Fully Qualified Domain Name" the /etc/hosts file. > >> >> >> > >> >> >> Have you tried sending an email from the command line using the > >> 'mail' > >> >> >> command? If so, does it work? If not, then your server is not > >> >> >> configured > >> >> >> properly. > >> >> >> > >> >> >> -- > >> >> > > > >> >> > > >> >> > >> >> > >> > > >> > > >> > > > >> > > >> > >> > > >> > > > > > > > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
