Monday, April 18, 2011

Send Email with Gmail SMTP in Symfony

Put this to the fatories.yml:
  mailer:
    param:
      transport:
        class: Swift_SmtpTransport
        param:
          host:       smtp.gmail.com
          port:       465
          encryption: ssl
          username:   "...@gmail.com"
          password:   "..."

No comments:

Post a Comment