开发者

Using Google Apps gmail with Symfony nahomail plugin

开发者 https://www.devze.com 2023-02-05 02:54 出处:网络
My boss asks me to update a domain to adopt Google Apps, now everything has been done except the website is still not updated to use the Google Apps gmail server.

My boss asks me to update a domain to adopt Google Apps, now everything has been done except the website is still not updated to use the Google Apps gmail server.

T开发者_如何转开发he website is running on Symfony 1.4.x but 1.2.9 and it is not the latest 1.4.x version, and it does not have Swiftmailer included. It now sends email (e.g. user registration confirm email) using the nahomail plugin.

Now I would like to make it send email using the Google Apps gmail server.

The website is going to be abandoned after a few months, for simplicity, I am going to do an update directly on the production server and so I am trying to avoid as many trial-and-errors as possible.

I wonder if anyone is actually using this plugin and can share the nahomail settings for gmail server that has been working nicely.

Many thanks to you all.


Even the very first 1.4 release includes swift, see this link.

I've been successfully using swift with gmail's smtp server, these are the probable settings, according to nahoMailPlugin's readme and my working factories.yml:

connection:
  type:               smtp
  params:
    server:           ssl://smtp.gmail.com
    port:             465
    encryption:       ssl
    authentication:   
      username:       username@yourhost.com
      password:       password
0

精彩评论

暂无评论...
验证码 换一张
取 消