Google's SMTP server requires authentication, so here's how to set it up:
--
--
Caché, Ensemble, DeepSee
---
You received this message because you are subscribed to the Google Groups "Caché, Ensemble, DeepSee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intersystems-publi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,Found these instructions that seemed reasonable for the task..
Settings
Google's SMTP server requires authentication, so here's how to set it up:
- SMTP server (i.e., outgoing mail): smtp.gmail.com
- SMTP username: Your full Gmail or Google Apps email address (e.g. example@gmail.com or exa...@yourdomain.com)
- SMTP password: Your Gmail or Google Apps email password
- SMTP port: 465
- SMTP TLS/SSL required: yes
In order to store a copy of outgoing emails in your Gmail or Google Apps Sent folder, log into your Gmail or Google Apps email Settings and:- Click on the Forwarding/IMAP tab and scroll down to the IMAP Access section: IMAP must be enabled in order for emails to be properly copied to your sent folder.
I have set up a routine that works well with another Mail Server and applied the mods to suit the Google settings..
ClassMethod HotPOPAsSMTP() As %Net.SMTP{Set server=##class(%Net.SMTP).%New()Set server.smtpserver="ssmtp.gmail.com"Set server.port=465//Create object to carry authenticationSet auth=##class(%Net.Authenticator).%New()
Set auth.UserName="rostiz@gmail.com"
Set auth.Password="xxxxx"Set server.AuthFrom=""Quit server}
Dmitry,OK, thanks. So I have created the New SSL/TLS Configuration. If I add the Method you have outlined to my Namespace as part of my say System.cls Class, WHERE and HOW is this method called? In my HotPOPAsSMTP() ClassMethod?Thanks,Rosti.
On Wednesday, March 22, 2017 at 1:21:59 PM UTC+11, Rosti wrote:
Hi,Found these instructions that seemed reasonable for the task..
Settings
Google's SMTP server requires authentication, so here's how to set it up:
- SMTP server (i.e., outgoing mail): smtp.gmail.com
- SMTP username: Your full Gmail or Google Apps email address (e.g. exa...@gmail.com or exa...@yourdomain.com)
- SMTP password: Your Gmail or Google Apps email password
- SMTP port: 465
- SMTP TLS/SSL required: yes
In order to store a copy of outgoing emails in your Gmail or Google Apps Sent folder, log into your Gmail or Google Apps email Settings and:- Click on the Forwarding/IMAP tab and scroll down to the IMAP Access section: IMAP must be enabled in order for emails to be properly copied to your sent folder.
I have set up a routine that works well with another Mail Server and applied the mods to suit the Google settings..
ClassMethod HotPOPAsSMTP() As %Net.SMTP{Set server=##class(%Net.SMTP).%New()Set server.smtpserver="ssmtp.gmail.com"Set server.port=465//Create object to carry authenticationSet auth=##class(%Net.Authenticator).%New()
Set auth.UserName="ros...@gmail.com"
Set auth.Password="xxxxx"Set server.AuthFrom=""Quit server}
Looked up the docs on the %Net. SMTP and the properties on offer include..server.SSLConfigurationserver.authenticatorJust cannot decipher from the notes, how to 'activate' TLS/SSL for Google.If anyone has done this before with success, what is the correct process for enabling this?Thanks,Rosti.
--
--
Caché, Ensemble, DeepSee
---
You received this message because you are subscribed to the Google Groups "Caché, Ensemble, DeepSee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to intersystems-publi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,Found these instructions that seemed reasonable for the task..
Settings
Google's SMTP server requires authentication, so here's how to set it up:
- SMTP server (i.e., outgoing mail): smtp.gmail.com
- SMTP username: Your full Gmail or Google Apps email address (e.g. example@gmail.com or exa...@yourdomain.com)
- SMTP password: Your Gmail or Google Apps email password
- SMTP port: 465
- SMTP TLS/SSL required: yes
In order to store a copy of outgoing emails in your Gmail or Google Apps Sent folder, log into your Gmail or Google Apps email Settings and:- Click on the Forwarding/IMAP tab and scroll down to the IMAP Access section: IMAP must be enabled in order for emails to be properly copied to your sent folder.
I have set up a routine that works well with another Mail Server and applied the mods to suit the Google settings..
ClassMethod HotPOPAsSMTP() As %Net.SMTP{Set server=##class(%Net.SMTP).%New()Set server.smtpserver="ssmtp.gmail.com"Set server.port=465//Create object to carry authenticationSet auth=##class(%Net.Authenticator).%New()
Set auth.UserName="rostiz@gmail.com"
Set auth.Password="xxxxx"Set server.AuthFrom=""Quit server}