Results 1 to 7 of 7
  1. #1
    Rajavel is offline Member
    Join Date
    Apr 2008
    Posts
    2
    Rep Power
    0

    Default 550 5.7.1 <mhgsss@yahoo.com>... Relaying denied. IP name possibly forged [61.95.195.1

    Hi friends ,

    our functionality is send the mail to TeamLeader or Project Manager personal ID.

    iam giving our smtp host address(xxx@company.co.in) and password also.

    if our remenider will meet the required condition then it will send the mail to(yyy@company.co.in).If 'TO' email address is (yyy@gmail.com or yyy@yahoo.co.in or rediff.com) anything it shows

    <exception>
    <message>javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 <yyy@yahoo.com>... Relaying denied. IP name possibly forged [61.95.195.167]
    </message>
    <errortrace>java.lang.Exception: javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 <yyy@yahoo.com>... Relaying denied. IP name possibly forged [61.95.195.167]

    at com.transpro.util.mail.daemon.EmailDaemon.sendMail (EmailDaemon.java:2434)
    at com.transpro.util.mail.daemon.EmailDaemon.sendGene ralMail(EmailDaemon.java:3156)
    at com.transpro.util.reminder.impl.TFExitReminder.pro cessReminderEvent(TFExitReminder.java:188)
    at com.transpro.util.reminder.ReminderTaskBase.run(Re minderTaskBase.java:456)
    at java.util.TimerThread.mainLoop(Timer.java:432)
    at java.util.TimerThread.run(Timer.java:382)
    Caused by: javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 <mhgsss@yahoo.com>... Relaying denied. IP name possibly forged [61.95.195.167]

    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTranspo rt.java:1130)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTr ansport.java:525)
    at com.transpro.util.mail.daemon.EmailDaemon.sendMail (EmailDaemon.java:2421)
    ... 5 more
    </errortrace>

    please help me out...

    Regards

    RajaVel

  2. #2
    Zosden's Avatar
    Zosden is offline Senior Member
    Join Date
    Apr 2008
    Posts
    384
    Rep Power
    7

    Default

    Just to let you know you created two threads
    My IP address is 127.0.0.1

  3. #3
    Rajavel is offline Member
    Join Date
    Apr 2008
    Posts
    2
    Rep Power
    0

    Default

    i know when i go back and click on submit it was created,is not my problem...problem is in java-forum development...u know solutions for question???

  4. #4
    Zosden's Avatar
    Zosden is offline Senior Member
    Join Date
    Apr 2008
    Posts
    384
    Rep Power
    7

    Default

    Hey don't be so mean, I was just letting you know ok.
    My IP address is 127.0.0.1

  5. #5
    danielstoner's Avatar
    danielstoner is offline Senior Member
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    191
    Rep Power
    7

    Default

    Probably the anti-spam settings on the mail server are set in such a way that you cannot send emails to those addresses from unauthorized clients. Contact the mail server administrator and ask.
    This doesn't look like a Java problem. It is, I guess, a mail server setup problem.
    Daniel @ [www.littletutorials.com]
    Language is froth on the surface of thought

  6. #6
    vglass is offline Member
    Join Date
    Jul 2007
    Posts
    14
    Rep Power
    0

    Default

    Also some SMTP servers are configured to deny email from clients that send an IP address in HELO command. To get around this issue make sure that you send a hostname instead of IP address in HELO command.

  7. #7
    Tshegofatsom is offline Member
    Join Date
    Apr 2009
    Location
    Pretoria, Gauteng, South Africa
    Posts
    43
    Rep Power
    0

    Default com.sun.mail.smtp.SMTPAddressFailedException: 550 Relaying denied

    If the solution have not been found:
    Some mail servers are configured to send mails only to addresses that exist in the host if only servername and port given.(if only host name given, default port is used [25 for eg])

    Provide the username and the password to the smtp sever for authentication and it will work with any recipient.

Similar Threads

  1. How to access yahoo/gmail/hotmail address book
    By shahinengg in forum AWT / Swing
    Replies: 3
    Last Post: 11-24-2009, 12:14 AM
  2. Replies: 3
    Last Post: 07-16-2007, 12:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •