title: sql server 2012 mail setup on windows azure cloud vm
body: <p>I am setting up the email option on sql server 2012 in a windows azure cloud Virtual Machine. The email is not working and im getting the following error :</p>
  
  <blockquote>
    <p>Error,15,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2
    (2012-07-02T11:13:17).<br>
    Exception Message: Cannot send mails to mail
    server. (The remote certificate is invalid according to the validation
    procedure.).),3152,5,,7/2/2012 11:13:17 AM,sa<br>
    07/02/2012 11:12:05,,Error,14,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using
    Account 2 (2012-07-02T11:12:05).<br>
    Exception Message: Cannot send mails
    to mail server. (The remote certificate is invalid according to the
    validation procedure.)</p>
  </blockquote>
  
  <p>Should I have an end point 25 on my vm ? What else could cause this error ?</p>