Error Sending From smtp.gmail.com (issue STARTSLS)

Hai To all,

I am using smtp.gmail.com as a my mail server.i am facing the problem with sending email.i have dowloaded the dll files and i am using Microsoft Dynamics NAV Helper.smtpMessage.i am using port no 587.but i am facing an Error.


"The SMTP mail system returned the following error: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. o6sm3883006wbo.3"


I dont understand what is this error.i searched forums but no use.i dint find any solution.please help me …

Thanks in Advance…

K.Veeraprasad.

Are you able to send email from your outlook manually?. If so then use the codeunit 397. Its easy to use.

i am not able to send from outlook also…

First you need to configure outlook. Then you can send email from navision through outlook

thanks karthik…

but i want to send from smtp only the client dont want to use outlook…thats y i am asking this.what is the error?

Hi,

Check this.

http://dynamicsuser.net/forums/p/1002/4911.aspx.

Which Version of NAV are you using ?

If its Ver 5 and greater the use codeunit 400 & form 409 to setup SMTP.