I am not able to send email using JAVA API to outer email

If I am trying to send email from my company account to yahoo I am getting following errors:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
for [email protected]
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at MailSend.main(MailSend.java:116)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to rel
ay for [email protected]
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
... 4 more
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for mkba
[email protected]
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at MailSend.main(MailSend.java:116)
Please let me know the reason for the same.

Unable to relay - This happened because your Company network don't permit relay. Do talk to the network administrator and check with way safe you can send.
I got the same problem, now im using through gmail.

Similar Messages

  • I'm not able to send emails with mail.ru. Receiving and reading is not a problem. When I create a email with mail.ru its not possible to send it although its stored in my mail.ru account as "still to be send". What can it be??

    I'm not able to send emails with mail.ru. Receiving is not a problem. Creating a mail is also not a problem and the mail will be stored at mail.ru as still to be send, only problem is its not possible to send. I noticed the buttons for sending change colour when used but they don't perform. What it is?

    Don't know what changed, but all of a sudden able to send emails by mail.ru ...... sorry for bothering.

  • Could not able to send email notification through approval workflow

    Hi,
    I am trying to send an email notification to the requester and approver on request creation and when the approver approves the request then an email should get triggered to the request with approve/reject outcome. All the SOA configuration has been done and also able to send test email through SOA console but could not able to send email through SOA composite.
    For configuring an email notification, I am using notification tab in ApprovalTask, but still problem is not resolved.
    Please help me in resolving the issue.
    Thanks.

    Use this link to check again whether you have configured the Email driver properties properly. http://www.iamidm.com/2012/09/oim-11g-r2-lab-6-managing-notifications.html
    Also check whether any firewall issue is there which is preventing OIM to contact the email server in sending out emails. Check the logs if there are any issues.
    Also check this system property 'RequestNotificationLevel'. This property indicates whether or not notification is sent to the requester and beneficiary when a request is created or the request status is changed. If the value is 0 for this system property, make it 1.
    I was facing a similar type of issue due to two reasons:
    1. System property
    2. Firewall
    Check both of them and try again.
    Edited by: Durgaprasad on Apr 15, 2013 2:08 AM

  • Since yesterday I'm unable to send emails alleging I have exceeded the maximum number of emails per day, but I had only sent out 24 and NO bulk emailing -  (much less than 1000 as per the website) and I'm STILL not able to send emails.Any advice?

    Since yesterday I'm unable to send emails on any of my Apple devices. The revert is that I have exceeded the maximum number of emails per day, but I had only sent out 24 with no bulk emailing -  (much less than 1000 recipients as per the website) and I'm STILL not able to send emails. Any advice on how to solve this?

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    Once you get a reply, if you click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • [SOLVED] Evolution :: not able to send email

    HI
    It was working before, but now I am not able to send email over work {office} smtp server.
    I have two accounts in Evolution, work and personal. For personal I am using my own debian server with postfix and I can send email over that.
    I did contact hosting company who we are using for work smtp server and they are saying that there is no incaming connection for my acount in time when I am trying to send email.
    I did install Thunderbird, wow, I can send email from work and personal account and with same configuration as evolution, port 25 with and without security (TLS).
    I think it is cleary problem of evolution, can someone explain me what could happen?
    Friend visit me today, He is using Evolution too, but he is running MINT, same problem.
    thanks for comments
    Last edited by jancici (2012-02-03 08:16:48)

    Thanks, I was trying to check trafic on router, and I did not see where the problem is, well I did not check IP.
    Now, tcpdump show me the problem. I am using OPENDNS and here is output from tcpdump:
    08:52:14.287372 IP frodo.49219 > hit-nxdomain.opendns.com.smtp: Flags [s], seq 1810390044, win 14600, options [mss 1460,sackOK,TS val 34963370 ecr 0,nop,wscale 6], length 0
    E..<#.@.@.|...TdC.A..C..k.\.......9............
    08:52:15.288964 IP frodo.49219 > hit-nxdomain.opendns.com.smtp: Flags [s], seq 1810390044, win 14600, options [mss 1460,sackOK,TS val 34963671 ecr 0,nop,wscale 6], length 0
    E..<#.@.@.|...TdC.A..C..k.\.......9............
    08:52:17.292307 IP frodo.49219 > hit-nxdomain.opendns.com.smtp: Flags [s], seq 1810390044, win 14600, options [mss 1460,sackOK,TS val 34964272 ecr 0,nop,wscale 6], length 0
    E..<#.@.@.|...TdC.A..C..k.\.......9............
    checking again configuration of evolution and there is wrong spelling of smtp server.
    well, now I am confused, hot that happen.
    okay, thanks for help.

  • I'm not able to send email messages because my send option is not highlighted

    I'm not able to send email messages because my send option is not highlighted

    It appears you might need a Yahoo plus account to utilize it as an SMTP server.    The server address is plus.smtp.mail.yahoo.com
    Other than that, I would contact Yahoo support directly.  Ask them if they require password authentication. If they do, usually your e-mail address is your username.  Often they require port 587, 2626, or 2662.  Only Yahoo would know for certain which one to use.

  • I am all of a sudden not able to send emails out from my outlook account on my iPhone.  Any suggestions?

    I am not able to send emails out from my outlook account on my iPhone 4s.  This feature has been working fine for 2 years and all of a sudden decided not to work.  I was able to receive emails but not send out.  I tried deleting the outlook account and recreating it but now I can't even recreate it.  It tells me it cannot verify my account information.  The interesting thing is that the account works fine on my PC, so I know my login info is correct.  Any help would be appreciated.
    Thanks

    Hello tmed32
    Check the website and log into webmail to see if there is anything you need to add to authorize it on other devices. Also check out the articles below to see if they can provide any further assistance.
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/TS3899
    Regards,
    -Norm G.  

  • Not Able to send messages using NOKIA TEXT MESSAGE...

    Hi,
    I am not able to send messages using text message editor. I am having N70. I also have the latest PC suite and latest phone software. Whenever I try to send message, a message appears "Unable to send". It does not even give me the reason. I have connected my phone using data cable and I can transfer music, syncronize and do other stuffs.
    Can someone suggest what needs to be done to send messages using PC??
    Thanks in advance.
    Raghu.

    Hello,
    i am having the same Problem.
    I cannot send any sms via my phone (N70) nor via the latest Pc Suite. It also just says "Unable to send" with no reason.
    I am on:
    V5.0705.3.0.1
    30-01-07
    PM-84
    Model: N70-1
    Code: 0530495
    Any help is much appreciated. :-)
    Kind regards,
    Thorsten
    Message Edited by deeplook on 01-Jul-2008 08:59 PM

  • Not able to send emails via Mail anymore !?!?

    Very bizarre : since yesterday night, we are not able to send emails from all of our 3 accounts !?!?!? When we are sending an email Mail always ask us to enter our password. If not Mail says that we should choose another server to send our email but then after it keep asking us our password and the message always stay in my sending box ? Is there a way to solve that problem ?
    Thanks in advance

    Greetings,
    That sounds like a Mail issue (not iCal). You may get better response if you post in the Mail forum here:
    http://discussions.apple.com/forum.jspa?forumID=1338

  • Why is my macbook not able to send emails well?

    why is my macbook not able to send emails well?

    go to settings, then to mail.. then check and make sure that the default account for emails is the iCloud address.
    make sure also that you have really set-up iCloud.

  • TS3899 Not able to send emails. Also not able to downlow  videos send from another iPhone to my.

    Not able to send out emails. Also not able to downlow videos send from another iPhone to my.

    depending on what email account you are using, you may need to enter a password for you outgoing mail server, go back into mail settings and check, same p/w as your incoming mail server.

  • TS3899 I have just set up an exchange email account and am not able to send emails, but I can receive. I have the exact same email account set up on my older IPad and it works fine. The account also works fine on my I phone. The new IPad was set up by my

    I have just added an exchange email account to my new IPad2. I am able to receive emails but I am not able to send messages from this account. I have the exact same account set up on my Old IPad and iPhone and am ble to send and receive. My work (where the server for this account is) gave me the IPad and set up the apple account. What am I missing?

    You might want to try removing they email account and setting it back up again

  • BEx Broadcast - Not able to send email as PDF attachment

    Hi All,
    We have BI 7.0 and EP 7.0 of SP12.
    From BEx broadcasting we couldnt able to send email in PDF format, but other format like HTML, Link, MHTML can able to send
    It gives error like
    <b>Error:java.lang.ArrayIndexOutOfBoundsException
    Error occured during the processing of framework class CL_RSRC_PRODUCER_PRECALC, type, PROD</b>
    Pls give me some input on this regard
    Thanks
    Karthik

    <b>Prerequisites -</b> You selected Broadcast to Printer as the distribution type when you created the broadcast setting.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/13/f76f422f91c153e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/bf/220c40ac368f5ce10000000a155106/content.htm
    <b>Configuration - Broadcasting</b>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/84/30984076b84063e10000000a1550b0/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=4204837&messageID=2091321
    https://forums.sdn.sap.com/click.jspa?searchID=4204809&messageID=2816847
    Some Insights-
    The PDF printing can be done from a BEx Web Application, BEx Web Analyzer, or BEx Report Designer. There are no current plans to make this available in the BEx Analyzer.
    From the BEx Analyzer, you can use the "launch in web" functionality to then initiate print to PDF.
    Hope it Helps
    Chetan
    @CP..

  • Image not displayed in pdf generated using Java API for Forms service

    Hi,
    I am creating a pdf document using Java API for Forms Service.
    I am able to generate the pdf but the images are not visible in the generated pdf.
    The image relative path is coming in the xml as defined below. The images are stored dynamically in the Livecycle repository each time a request is fired with unique name before the xml is generated.
    <imageURI xfa:contentType="image/png" href="../Images/logo.png"></imageURI>
    Not sure if I need to specify specify specific URI values that are required to render a form with image.
    The same thing is working when I generate pdf document using Java API for Output Service.
    As, I need to generate interactive form, I have to use Forms service to generate pdfs.
    Any help will be highly appreciated.
    Thanks.

    Below is the code snippet:
                //Create a FormsServiceClient object
                FormsServiceClient formsClient = new FormsServiceClient(myFactory);
                //Specify URI values that are required to render a form
                URLSpec uriValues = new URLSpec();
                                  // Template location contains the whole rpository path for the form
                uriValues.setContentRootURI(templateLocation);
               // The base URL where form resources such as images and scripts are located.  Whole Image path is passed in BaseUrl in the http format.
                      String baseLocation = repositoryPath.concat(serviceName).concat(imagesPath);   
                                  uriValues.setBaseURL(baseLocation);                                        
                // Set run-time options using a PDFFormRenderSpec instance
                PDFFormRenderSpec pdfFormRenderSpec = new PDFFormRenderSpec();
                pdfFormRenderSpec.setCacheEnabled(new Boolean(true));           
                pdfFormRenderSpec.setAcrobatVersion(com.adobe.livecycle.formsservice.client.AcrobatVersio n.Acrobat_8);
                                  //Invoke the renderPDFForm method and write the
                //results to a client web browser
                String tempTemplateName =templateName;
                FormsResult formOut = formsClient.renderPDFForm(tempTemplateName,
                                              inXMDataTransformed,pdfFormRenderSpec,uriValues,null);
                //Create a Document object that stores form data
                Document outputDocument = formOut.getOutputContent();
                InputStream inputStream = outputDocument.getInputStream();

  • Not able to send mail using Scenario.

    Hi All,
    I am getting below line in debug log.
    /atg/scenario/IndividualEmailSender
    Unable to send email to recipient: Customer:150002. Email status is set to invalid
    DEBUG SMTP: connected to host "pro.turbo-smtp.com", port: 25
    EHLO Jitendra-HP
    250-turbo-smtp.com
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN
    250-PIPELINING
    250-8BITMIME
    250 SIZE 20000000
    DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
    DEBUG SMTP: Found extension "AUTH=LOGIN", arg "PLAIN"
    DEBUG SMTP: Found extension "PIPELINING", arg ""
    DEBUG SMTP: Found extension "8BITMIME", arg ""
    DEBUG SMTP: Found extension "SIZE", arg "20000000"
    DEBUG SMTP: Attempt to authenticate
    AUTH LOGIN
    334 VXNlcm5hbWU6
    aml0ZW5kcmEudmlzaG5vaUB0ZWNobWFoaW5kcmEuY29t
    334 UGFzc3dvcmQ6
    aml0ZW5kcmE=
    235 ok, go ahead (#2.0.0)
    NOOP
    250 ok
    NOOP
    250 ok
    NOOP
    250 ok
    QUIT
    221 turbo-smtp.com
    Below is the configuration for properties file.
    # /atg/scenario/IndividualEmailSender
    #Wed Jan 22 01:28:09 IST 2014
    contextPathPrefix=^/Constants.null
    loggingDebug=true
    # /atg/userprofiling/email/TemplateEmailSender
    #Wed Jan 22 00:42:17 IST 2014
    loggingDebug=true
    contextPathPrefix^=/Constants.null
    # /atg/dynamo/service/SMTPEmail
    #Thu Jan 23 00:29:25 IST 2014
    defaultFrom=[email protected]
    defaultSubject=o lala laa
    emailHandlerHostName=pro.turbo-smtp.com
    emailHandlerPort=25
    loggingDebug=true
    password=Pass@123
    username=[email protected]
    Any one please help.
    Thanks in advance.

    from the Personalization Programming Guide
    "Each time TemplateEmailSender sends an e-mail message, it generates an event of class atg.userprofiling.email.TemplateEmailEvent, which indicates whether or not the message was successfully sent. For example, suppose you create a mailing with 10 recipients, and 1 message does not get sent because the recipient has an invalid e-mail address. TemplateEmailSender generates 10 template e-mail events, 9 indicating success and 1 indicating failure.
    When a message fails, TemplateEmailSender looks at the e-mail address of the failed message, finds all profiles that use that address, and marks those profiles as being ineligible for receiving e-mail by setting the emailStatus property to invalid."
    So check the emailStatus attribute of the profile Customer:150002, if it is false set it to true..

Maybe you are looking for