Ant mail task, "badhelo" problem???

S

Seymores Cakes

Hello,

I have been trying to send out a mime mail with a zip file attached
using Ant's mail task. But it always fail with a somple error,

"Failed to send mail."
"Problem while sending mime mail."

I'm using Ant 1.6.2 and have included all the necessary javamail jars
in Ant'slib dir.

I checked the mail server and I keep seeing the message "badhelo".

I am out of ideas on how to do troubleshoot. Can anybody help???


Thanks,
Sey
 
G

Gibsonist

I never used ant's mail task but worked with enough mailservers that a
badhelo is a rejection by the mailserver because the helo does not
match with the domain ie you try to send over my-domain.com and ant
gives as helo (e-mail address removed) then most servers block this. So I
would advice you to look into how ant uses smtp as this part of the
protocol.

G
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top