Hi Robert,
Can you use "ping mail.gmx.net" to verify this address can be resolved
in your box ?
Willem.
Robert Thullner wrote:
Hi
I am trying to send a mail from Camel, but I always get a
SMTPSendFailedException with the message: "Cannot resolve your domain"
My configuration looks like this:
from("statusInfo:queue:camel.flight.unload.queue")
.setHeader("subject", constant("My subject"))
.to("smtp://[EMAIL PROTECTED]:25?password=mypwd#myreceiver);
I also tried in this way:
.setHeader("subject", constant("My subject"))
.setHeader("smtp.host", constant("mail.gmx.net"))
.setHeader("smtp.port", constant("25"))
.to("smtp://[EMAIL PROTECTED]:25?password=mypwd#myreceiver);
But as already stated I always get the Cannot resolve your domain message.
Is there something wrong with my smtp connector or can gmx cause some
problems?
I have the spring-2.0.6.jar, activation-1.1.jar, mail-1.4.jar, camel-core
and camel-mail-1.2.jar on my classpath. Am I missing something else or do I
have to many jars on my classpath that could cause a confusion?
Thanks for any help
Robert