SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How do I specify TLS as Database Mail?


How do I specify TLS as Database Mail?

Author
Message
Rod
Rod
SSCertifiable
SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)

Group: General Forum Members
Points: 6839 Visits: 2170
I work for a university. Recently we've changed mail servers and are now using Office 365 (or at least the Exchange Server part of it), for email. We've got a departmental email which I use for our SQL 2005 Database Mail. We've gotten a notice that in a couple of weeks the SMTP client user and replay server to change, and that I'll have to set up Database Mail to use TLS and a port other than 25. I set up Database Mail some time ago, so I had to hop back into it, to see if I could change that, but it doesn't appear to me as though I can change Database Mail to use TLS. Am I wrong about that? If I am, how do I change it to use TLS?

Kindest Regards,Rod
Connect with me on LinkedIn.
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)

Group: General Forum Members
Points: 37376 Visits: 14411
Rod at work (3/21/2013)
I work for a university. Recently we've changed mail servers and are now using Office 365 (or at least the Exchange Server part of it), for email. We've got a departmental email which I use for our SQL 2005 Database Mail. We've gotten a notice that in a couple of weeks the SMTP client user and replay server to change, and that I'll have to set up Database Mail to use TLS and a port other than 25. I set up Database Mail some time ago, so I had to hop back into it, to see if I could change that, but it doesn't appear to me as though I can change Database Mail to use TLS. Am I wrong about that? If I am, how do I change it to use TLS?

TLS = SSL. Configure the account to send email using SSL. Chances are the port number number will need to be changed as well.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Rod
Rod
SSCertifiable
SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)

Group: General Forum Members
Points: 6839 Visits: 2170
Are you sure? The reason why I ask is because the email I've gotten from the unviersity IT says,
Please Note: Unlike the previous email system, <the new mail system> only supports TLS encryption, regardless of the port number used. The deprecated SMTPS/SSL encryption method over port 465 will not be supported.
That suggests to me that SSL isn't going to work, unless SMTPS/SSL is something different from SSL.

Kindest Regards,Rod
Connect with me on LinkedIn.
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)

Group: General Forum Members
Points: 37376 Visits: 14411
I have used the SSL feature in Database Mail with success. Have you tried it out?

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Rod
Rod
SSCertifiable
SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)

Group: General Forum Members
Points: 6839 Visits: 2170
No, but I will.

Kindest Regards,Rod
Connect with me on LinkedIn.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search