camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siva naresh <>
Subject configuring mail endpoint
Date Mon, 02 Mar 2009 12:30:26 GMT

Please see the following code snippet..

Endpoint smtpEndPoint = context

    try {
              producer = smtpEndPoint .createProducer();
              Exchange ex = producer.createExchange();
      } catch (Exception e) {

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS
command first. 6sm5357658qwd.33

I figured out that I need to set the following property
mail.smtp.starttls.enable=true for the above exception.

how do I do set the above property using URI or is there any workaround?
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message