Java Mailing Error

Java Mailing Error

Hey Friends,

I am getting 553 response when i try sending a mail from my java code.
below is my debug for the same, any help is appreciated.

DEBUG: JavaMail version 1.5.4

DEBUG: successfully loaded resource: /META-INF/javamail.default.providers

DEBUG: Tables of loaded providers

DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle]}

DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]}

DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]

DEBUG SMTP: useEhlo true, useAuth true

DEBUG SMTP: trying to connect to host "smtp.zoho.com", port 587, isSSL false

220 mx.zohomail.com SMTP Server ready February 7, 2016 12:17:28 AM PST

DEBUG SMTP: connected to host "smtp.zoho.com", port: 587


EHLO 192.168.1.28

250-mx.zohomail.com Hello 192.168.1.28 (124.123.165.25 (124.123.165.25))

250-STARTTLS

250 SIZE 53477376

DEBUG SMTP: Found extension "STARTTLS", arg ""

DEBUG SMTP: Found extension "SIZE", arg "53477376"

STARTTLS

220 Ready to start TLS.

EHLO 192.168.1.28

250-mx.zohomail.com Hello 192.168.1.28 (124.123.165.25 (124.123.165.25))

250-AUTH LOGIN PLAIN

250 SIZE 53477376

DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"

DEBUG SMTP: Found extension "SIZE", arg "53477376"

DEBUG SMTP: Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM 

DEBUG SMTP: AUTH LOGIN command trace suppressed

DEBUG SMTP: AUTH LOGIN succeeded

DEBUG SMTP: use8bit false

MAIL FROM:<dwarkanathuttarkar@Dwarkanaths-MacBook-Air.local>

250 Sender <dwarkanathuttarkar@Dwarkanaths-MacBook-Air.local> OK

RCPT TO:<mailtopinnu@gmail.com>

250 Recipient <mailtopinnu@gmail.com> OK

DEBUG SMTP: Verified Addresses

DEBUG SMTP:   mailtopinnu@gmail.com

DATA

354 Ok Send data ending with <CRLF>.<CRLF>

Date: Sun, 7 Feb 2016 13:47:37 +0530 (IST)

To: mailtopinnu@gmail.com

Message-ID: <530737374.0.1454833057527@Dwarkanaths-MacBook-Air.local>

Subject: Test

MIME-Version: 1.0

Content-Type: text/plain; charset=us-ascii

Content-Transfer-Encoding: 7bit


Test Body

.

553 Relaying disallowed as <dwarkanathuttarkar@Dwarkanaths-MacBook-Air.local>

DEBUG SMTP: got response code 553, with response: 553 Relaying disallowed as <dwarkanathuttarkar@Dwarkanaths-MacBook-Air.local>


RSET

DEBUG SMTP: EOF: [EOF]

DEBUG SMTP: MessagingException while sending, THROW: 

com.sun.mail.smtp.SMTPSendFailedException: 553 Relaying disallowed as <dwarkanathuttarkar@Dwarkanaths-MacBook-Air.local>


at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2203)

at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1981)

at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1197)

at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:433)

at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:307)

at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:296)

at com.eia.responses.ApplicationMailer.sendMail(ApplicationMailer.java:22)

at com.eia.util.Test.main(Test.java:27)

QUIT




Regards,

Dwaraka

    Access your files securely from anywhere







                            Zoho Developer Community




                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                  • Ask the Experts



                                                            • Sticky Posts

                                                            • Pocket from Mozilla is closing shop. Don’t lose your favorites . Move them to Zoho Mail Bookmarks now! 📥🔖

                                                              The end of Pocket shouldn't mean the end of your important links and content. Easily import them into Zoho Mail's Bookmarks and continue right where you left off. You can bring over your entire Saves, Collections, and tags just the way they are. Bookmarks
                                                            • Zoho Mail POP & IMAP Server Details

                                                              Hello all! We have been receiving a number of requests regarding the errors while configuring or using Zoho Mail account in POP/ IMAP clients. The server details vary based on your account type and the Datacenter in which your account is setup. Ensure
                                                            • Workplace - Zoholics Europe Customer Awards

                                                              Dear Zoho Mail Community! 📣 We're excited to announce that at this year's Zoholics events across Europe, we're holding customer awards for the first time ever! Workplace - Zoholics Europe Customer Awards This is your chance to shout about the amazing
                                                            • Important update on Group Management | Zoho Mail

                                                              Dear Zoho Mail Community, This post is to inform you all of the following updates on the Group Management in Zoho Mail. Group Member Addition: If a group member is added to an organization group in a Zoho Application, the member will be automatically
                                                            • Mastering email etiquette and best practices to follow in Zoho Mail

                                                              Hello Zoho Mail Community, We’re thrilled to invite you all to our upcoming webinar: Mastering email etiquette and best practices to follow in Zoho Mail. Join our live webinar for expert etiquette tips to enhance your professionalism and elevate your


                                                            Manage your brands on social media



                                                                  Zoho TeamInbox Resources



                                                                      Zoho CRM Plus Resources

                                                                        Zoho Books Resources


                                                                          Zoho Subscriptions Resources

                                                                            Zoho Projects Resources


                                                                              Zoho Sprints Resources


                                                                                Qntrl Resources


                                                                                  Zoho Creator Resources



                                                                                      Zoho CRM Resources

                                                                                      • CRM Community Learning Series

                                                                                        CRM Community Learning Series


                                                                                      • Kaizen

                                                                                        Kaizen

                                                                                      • Functions

                                                                                        Functions

                                                                                      • Meetups

                                                                                        Meetups

                                                                                      • Kbase

                                                                                        Kbase

                                                                                      • Resources

                                                                                        Resources

                                                                                      • Digest

                                                                                        Digest

                                                                                      • CRM Marketplace

                                                                                        CRM Marketplace

                                                                                      • MVP Corner

                                                                                        MVP Corner









                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now


                                                                                            Zoho Show Resources

                                                                                              Zoho Writer

                                                                                              Get Started. Write Away!

                                                                                              Writer is a powerful online word processor, designed for collaborative work.

                                                                                                Zoho CRM コンテンツ



                                                                                                  Nederlandse Hulpbronnen


                                                                                                      ご検討中の方