Sending emails (particularly with gmail and google apps for domains)


/ Published in: C#
Save to your folder(s)

For both gmail and gApps, use smtp.gmail.com on port 25 with SSL and NetworkCredentials.

Neither can send email to their own address, but they can send to other addresses.

[NLog](http://nlog-project.org/) has [an example](http://nlog-project.org/wiki/Using_NLog_with_GMail) of how to automatically send emails in order to log info from an app.

URL: http://www.google.com/support/forum/p/Google+Apps/thread?tid=3abf482d7d7e24d3&hl=en&fid=3abf482d7d7e24d3000484c10943499b

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.