• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

Java Mail not sending to Hotmail/Yahoo accounts

We have an email program which sends out emails correctly to internal addresses but when trying to send it to Hotmail, Yahoo account it gives us the following error

Relaying denied. IP name lookup failed

Any ideas ? We can send to these addresses from Outlook
0
abuyusuf35
Asked:
abuyusuf35
1 Solution
 
Christopher Raymond MendozaCommented:
Have you checked the SMTP settings? Are they similar to Outlook's?
0
 
abuyusuf35Author Commented:
Is there something specific I need ?
0
 
for_yanCommented:
Maybe it has to do with some spam filtering on their side - they requiresometimes originating email to be reagistered.
How about sending to gmail.com - ?
0
 
Christopher Raymond MendozaCommented:
By my experience, the error message - 'Relaying denied. IP name lookup failed' - is sent back by the SMTP server.

This may be due to a number of factors. The most common we have seen are:
wrong credentials resulting to failed authentication
misconfiguration

Your Outlook seems to be configured right. If not, the same error would occur.

Can you modify or at least view the SMTP settings (for outgoing mails) of Java Mail? And also check on the settings being used for Outlook?
0
 
pran071199Commented:
Looks like your SMTP Server do not allow  relaying to other domains. Only internal mails it will distribute.
You need to get a SMTP server  which supports relaying.Your ISP should be usually providing a SMTP server which supports relaying. Please check with your ISP or you need find an SMTP servers which support relaying.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now