Hi Ravi,
Try using smtps:///smtp.gmail.com:587... instead of your current
url (notice protocol: smtps instead of smtp).
Hope it helps.
Regards,
Christopher
http://coders-unite.blogspot.com
On Tue, Aug 9, 2011 at 8:01 PM, ravi <[email protected]> wrote:
> I am trying to use following Camel SMTP end point URI to send mail using
> gmail:
>
> smtp://smtp.gmail.com:587?password=xyz&[email protected]
>
> It is giving me error:
>
> Error in sending email, msg: Failed messages:
> com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS
> command first. s5sm393482pbe.88
>
> Same SMTP Endpoint configuration and URI is working perfectly on 32 bit
> Windows XP and Vista.
>
>
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/CAMEL-SMTP-Mail-Componenet-Issue-on-64-Bit-Windows-2008-Server-tp4681784p4681784.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>