This discussion is archived
1 2 Previous Next 17 Replies Latest reply: May 6, 2013 4:31 AM by SatyaVenkat Go to original post RSS
  • 15. Re: How to handle forgotpasswords
    SatyaVenkat Newbie
    Currently Being Moderated
    Hi ,

    I changed the property value email status to valid.Now i am getting the different exception.

    Here is the log.

    20:33:07,609 INFO [TemplateEmailSender] DEBUG sendEmailMessage invoked.
    20:33:07,610 INFO [TemplateEmailSender] DEBUG registered email request EmailRequest[atg.userprofiling.email.TemplateEmailInfoImpl@10e4c9b1(mailingId=null, messageSubject=Requested Password)] with synchronization EmailSynchronization[TransactionImple < ac, BasicAction: a0101a7:c1e9:517e8979:1349 status: ActionStatus.RUNNING >]
    20:33:07,611 INFO [ForgotPasswordHandler] DEBUG success - redirecting to: login.jsp
    20:33:07,710 INFO [TemplateEmailSender] DEBUG email synchronization EmailSynchronization[TransactionImple < ac, BasicAction: a0101a7:c1e9:517e8979:1349 status: ActionStatus.COMMITTED >] queueing email requests
    20:33:07,711 INFO [TemplateEmailSender] DEBUG queued email request EmailRequest[atg.userprofiling.email.TemplateEmailInfoImpl@10e4c9b1(mailingId=null, messageSubject=Requested Password)] Queue size = 0
    20:33:07,711 INFO [TemplateEmailSender] DEBUG de-queued email request EmailRequest[atg.userprofiling.email.TemplateEmailInfoImpl@10e4c9b1(mailingId=null, messageSubject=Requested Password)] Queue size = 0
    20:33:07,916 INFO [TemplateEmailSender] DEBUG created session atg.servlet.sessiontracking.GenericHttpSession@2519d575 with id 9B776CAE074198AC5B1BDF1CE2B9912D parent session id = 9B776CAE074198AC5B1BDF1CE2B9912D, cookieString = JSESSIONID=9B776CAE074198AC5B1BDF1CE2B9912D
    20:33:07,923 INFO [TemplateEmailSender] DEBUG rendering path info /ClothingStore/emailtemplates/forget_password_email.jsp;jsessionid=9B776CAE074198AC5B1BDF1CE2B9912D
    20:33:07,949 INFO [TemplateEmailSender] DEBUG rendered template has content type text/html;charset=UTF-8
    20:33:07,951 INFO [TemplateEmailSender] DEBUG Preparing to create message with text: <html>
    <table width="600" style="border: solid 1px #000000;" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="574"><p style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px;"> <b>Glad to be of Service</b> </p> <table width="39%" border="0" cellspacing="0" cellpadding="0"> <tr> <td style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;">Username:</td> <td style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"> tsnjava@gmail.com </td> </tr> <tr> <td style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;">Password:</td> <td style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"> gseduXfY </td> </tr> </table> <p style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"> As requested, here is your username and password. The next time you visit our site <a href href="http://localhost:8080/ClothingStore/login.jsp">Clothing Store</a> please sign in using both. We ask that you save this email in a secure place for future reference. If at anytime you'd like to change your password, you can do so by logging into your account and clicking on Change Login ID, Email Address, or Password. </p> <p style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"> Sincerely,

    <b>The Clothing Store</b>
    </p></td> </tr> </table>
    </html> <!-- end of new template -->
    20:33:07,952 INFO [TemplateEmailSender] DEBUG Encoding UTF-8 No mapping found
    20:33:07,952 INFO [TemplateEmailSender] DEBUG creating message to user:170000 (******@gmail.com), contentType = text/html;charset=UTF-8
    20:33:08,038 INFO [TemplateEmailSender] DEBUG doSendEmailMessage: numMessages = 1
    20:33:08,041 INFO [STDOUT] DEBUG: setDebug: JavaMail version 1.4ea
    20:33:08,059 INFO [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    20:33:08,060 INFO [SMTPEmail] DEBUG Attempting to open a connection...
    20:33:08,062 INFO [STDOUT] DEBUG SMTP: useEhlo true, useAuth false
    20:33:08,062 INFO [STDOUT] DEBUG SMTP: trying to connect to host "smtpcorp.com", port 2525, isSSL false
    20:33:09,231 INFO [STDOUT] 220 smtpcorp.com ESMTP Exim 4.72 Mon, 29 Apr 2013 15:03:04 +0000
    20:33:09,232 INFO [STDOUT] DEBUG SMTP: connected to host "smtpcorp.com", port: 2525
    20:33:09,234 INFO [STDOUT] EHLO *******
    20:33:09,505 INFO [STDOUT] 250-smtpcorp.com Hello ******** [********]
    250-SIZE 52428800
    250-PIPELINING
    250-AUTH CRAM-MD5 PLAIN LOGIN
    250-STARTTLS
    250 HELP
    20:33:09,506 INFO [STDOUT] DEBUG SMTP: Found extension "SIZE", arg "52428800"
    20:33:09,506 INFO [STDOUT] DEBUG SMTP: Found extension "PIPELINING", arg ""
    20:33:09,506 INFO [STDOUT] DEBUG SMTP: Found extension "AUTH", arg "CRAM-MD5 PLAIN LOGIN"
    20:33:09,506 INFO [STDOUT] DEBUG SMTP: Found extension "STARTTLS", arg ""
    20:33:09,506 INFO [STDOUT] DEBUG SMTP: Found extension "HELP", arg ""
    20:33:09,506 INFO [STDOUT] NOOP
    20:33:09,774 INFO [STDOUT] 250 OK
    20:33:09,777 INFO [STDOUT] NOOP
    20:33:10,045 INFO [STDOUT] 250 OK
    20:33:10,049 INFO [STDOUT] DEBUG SMTP: use8bit false
    20:33:10,049 INFO [STDOUT] MAIL FROM:<*******@gmail.com>
    20:33:10,350 INFO [STDOUT] 250 OK
    20:33:10,350 INFO [STDOUT] RCPT TO:<*******@gmail.com>
    20:33:10,634 INFO [STDOUT] 550 relay refused ******@gmail.com/********* unauthenticated
    20:33:10,634 INFO [STDOUT] DEBUG SMTP: Invalid Addresses
    20:33:10,634 INFO [STDOUT] DEBUG SMTP: *******@gmail.com
    *20:33:10,634 INFO [STDOUT] DEBUG SMTP: Sending failed because of invalid destination addresses*
    20:33:10,634 INFO [STDOUT] RSET
    20:33:10,901 INFO [STDOUT] 250 Reset OK
    *20:33:10,901 INFO [STDOUT] javax.mail.SendFailedException: Invalid Addresses;*
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 relay refused username@gmail.com/<<ip address>> unauthenticated
    *20:33:10,902 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)*
    *20:33:10,902 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)*
    *20:33:10,902 INFO [STDOUT] at atg.service.email.SMTPEmailSender.sendEmailMessage(SMTPEmailSender.java:828)*
    *20:33:10,902 INFO [STDOUT] at atg.userprofiling.email.TemplateEmailSender.doSendEmailMessage(TemplateEmailSender.java:2216)*
    *20:33:10,902 INFO [STDOUT] at atg.userprofiling.email.TemplateEmailSender.doSendEmailMessage(TemplateEmailSender.java:1953)*
    *20:33:10,903 INFO [STDOUT] at atg.userprofiling.email.EmailRequestThread.run(EmailRequestThread.java:108)*
    *20:33:10,903 INFO [STDOUT] Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 relay refused usename@gmail.com/<<ip address>> unauthenticated*
    *20:33:10,903 INFO [STDOUT] at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)*
    *20:33:10,903 INFO [STDOUT] ... 5 more*
    *20:33:10,905 INFO [SMTPEmail] DEBUG Searching for invalid sender tags in excption: javax.mail.SendFailedException: Invalid Addresses;*
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 relay refused username@gmail.com/<<ip address>> unauthenticated

    *20:33:10,905 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550-Sender {1} verification failed*
    *20:33:10,906 INFO [SMTPEmail] DEBUG Tag not found in exception*
    *20:33:10,906 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550 cannot route to sender address <{1}>*
    *20:33:10,906 INFO [SMTPEmail] DEBUG Tag not found in exception*
    *20:33:10,907 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550 rejected: cannot route to sender <{1}>*
    *20:33:10,907 INFO [SMTPEmail] DEBUG Tag not found in exception*
    *20:33:10,908 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550 rejected: unknown local part in sender <{1}>*
    *20:33:10,909 INFO [SMTPEmail] DEBUG Tag not found in exception*
    *20:33:10,909 ERROR [SMTPEmail] ** Invalid Addresses*
    *20:33:10,909 ERROR [SMTPEmail] username@gmail.com*
    *20:33:10,909 ERROR [SMTPEmail] ** ValidUnsent Addresses*
    *20:33:10,910 INFO [SMTPEmail] DEBUG Searching for invalid sender tags in excption: com.sun.mail.smtp.SMTPAddressFailedException: 550 relay refused username@gmail.com/<<ip address>> unauthenticated*

    20:33:10,910 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550-Sender {1} verification failed
    20:33:10,910 INFO [SMTPEmail] DEBUG Tag not found in exception
    20:33:10,911 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550 cannot route to sender address <{1}>
    20:33:10,911 INFO [SMTPEmail] DEBUG Tag not found in exception
    20:33:10,911 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550 rejected: cannot route to sender <{1}>
    20:33:10,911 INFO [SMTPEmail] DEBUG Tag not found in exception
    20:33:10,912 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550 rejected: unknown local part in sender <{1}>
    20:33:10,912 INFO [SMTPEmail] DEBUG Tag not found in exception
    *20:33:10,912 ERROR [SMTPEmail] javax.mail.SendFailedException: Invalid Addresses;*
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 relay refused username@gmail.com/<<ip address>> unauthenticated

    *20:33:10,912 INFO [TemplateEmailSender] DEBUG setting user:170000 to invalid status*
    20:33:10,966 INFO [TemplateEmailSender] DEBUG email not sent to user:170000 (username@gmail.com)
    20:33:10,966 INFO [STDOUT] NOOP
    20:33:11,233 INFO [STDOUT] 250 OK
    20:33:11,233 INFO [STDOUT] QUIT
    20:33:11,500 INFO [STDOUT] 221 smtpcorp.com closing connection




    Regards,
    Satya.

    Edited by: SatyaVenkat on May 15, 2013 4:25 AM
  • 16. Re: How to handle forgotpasswords
    RMishra Journeyer
    Currently Being Moderated
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 relay refused tsatya4u@gmail.com
    >
    In below url is also same issue:
    http://www.java-forums.org/advanced-java/6168-javax-mail-sendfailedexception-invalid-addresses.html

    >
    com.sun.mail.smtp.SMTPAddressFailedException: 550 relay refused tsatya4u@gmail.com/202.65.129.244 unauthenticated

    20:33:10,905 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550-Sender {1} verification failed
    20:33:10,906 INFO [SMTPEmail] DEBUG Tag not found in exception
    20:33:10,906 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550 cannot route to sender address <{1}>
    20:33:10,906 INFO [SMTPEmail] DEBUG Tag not found in exception
    20:33:10,907 INFO [SMTPEmail] DEBUG Looking for invalidSender tag: {0}550 rejected: cannot route to sender <{1}>
    >
    Seems as refused by server. Are you able to send any other email like afer registration of user or update profile etc? If not, Please you talk with who is handling server

    >
    *20:33:10,909 ERROR [SMTPEmail] * Invalid Addresses
    20:33:10,909 ERROR [SMTPEmail] tsnjava@gmail.com
    >
    seems tsnjava@gmail.com is invalid
    I put wrong email form ACC to a particular profile and got similar exception. So also make sure that tsnjava@gmail.com is correct email.

    -RMishra


    Edited by: RMishra on Apr 30, 2013 10:44 AM

    Edited by: RMishra on Apr 30, 2013 10:59 AM
  • 17. Re: How to handle forgotpasswords
    SatyaVenkat Newbie
    Currently Being Moderated
    Hi RMishra,

    now the response mail is coming.

    thankyou so much.


    Regards,
    Satya.
1 2 Previous Next