Client was not authenticated

Hello Excperts,
                   I have a problem with sending Email throught Guided Procedure.I have set the SMTP configurations but when i test my Process using the Interactive Form through GP i get the error as below:
Result:  Technical exception
Details: Unexpected internal exception during background execution: 530 5.7.1 Client was not authenticated
though my BAPI through GP gets executed properly but I still get this error.What can be done to resolve this error please help urgently.
Regards
Ishita

Hi Yahya,
According to you description, the issue is that cannot receive email from a specific outside user.
Before going further, I'd like to ask the following questions to help troubleshoot the issue:
1. Could you receive emails from other outside domains? like Hotmail.com, gmail.com?
2. Is it from the specific user, or from the specific domain? 
In addition , If your domain is in their blacklist, it will prevent the email to your domain .
I recommend you contact the sender to confirm that if your domain in their blacklist.
Best regards,
Niko Cheng
TechNet Community Support

Similar Messages

  • Error in receiver Mail adapter: Client was not authenticated

    Hi.
    My requirement is to send email via PI to an extermal mail address. I am trying to use the following configuation for the same.
    Tramsport Protocol: SMTP
    Message Protocol: XIPAYLOAD
    URL: To get the value of URL, execute transaction SCOT in PI system. Double click on SMTP and get the Mail host from there (name). So the URL has been specified as smtp://name
    Comfigure User authentication - Checked
    User: My outlook email address
    Password: My outlook email password
    From:  My outlook email address
    To: External address to which the email needs to be sent
    Content encoding: base64
    But the email is not getting sent. when I check the adapter engine I see the errors:
    Mail: error occured: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated
    Mail: error occured: com.sap.aii.af.lib.mp.module.ModuleException
    MP: exception caught with cause com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated
    Adapter Framework caught exception: Failed to call the endpoint
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated.
    Can anyone please suggest what changes are needed to make this work?
    Any help is greatly appreciated.
    Thanks.
    Anuradha.

    HI Anuradha,
    Check the below link for receiver mail configuration and follow the steps accordingly.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7ff6?quicklink=index&overridelayout=true
    Regards,
    Naveen

  • The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

     try
                    MailMessage mail = new MailMessage();
                    SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
                    mail.From = new MailAddress("[email protected]");
                    mail.To.Add("[email protected]");
                    mail.Subject = "Test Mail..!!!!";
                    mail.Body = "mail with attachment";
                    System.Net.Mail.Attachment attachment;
                    attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
                    mail.Attachments.Add(attachment);
                    SmtpServer.Port = 587;
                    SmtpServer.UseDefaultCredentials = true;
                    SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
                    SmtpServer.EnableSsl = true;
                    SmtpServer.Send(mail);
    Catch(Exception exception)
    When i m run this part of code it throw an Ecxeption                                                          
            Given Below is the Error.. 
        The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
    Bikky Kumar

     try
                    MailMessage mail = new MailMessage();
                    SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
                    mail.From = new MailAddress("[email protected]");
                    mail.To.Add("[email protected]");
                    mail.Subject = "Test Mail..!!!!";
                    mail.Body = "mail with attachment";
                    System.Net.Mail.Attachment attachment;
                    attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
                    mail.Attachments.Add(attachment);
                    SmtpServer.Port = 587;
    SmtpServer.UseDefaultCredentials = true;    ///Set it to false, or remove this line
                    SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
                    SmtpServer.EnableSsl = true;
                    SmtpServer.Send(mail);
    Catch(Exception exception)
    Given Below is the Error..      The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
    Solution:
    The error might occur due to following cases.
    case 1: when the password is wrong
    case 2: when you try to login from some App
    case 3: when you try to login from the domain other than your time zone/domain/computer (This
    is the case in most of scenarios when sending mail from code)
    There is a solution for each
    solution for case 1: Enter the correct password.
    Recomended: solution for case 2: go to
    security settings at the following link https://www.google.com/settings/security/lesssecureapps and
    enable less secure apps . So that you will be able to login from all apps.
    solution 1 for case 3: (This might be helpful) you need to review the activity. but reviewing the activity will not be helpful due to latest security
    standards the link will not be useful. So try the below case.
    solution 2 for case 3: If you have hosted your code somewhere on production server and if you have access to the production server, than take remote
    desktop connection to the production server and try to login once from the browser of the production server. This will add exception for login to google and you will be allowed to login from code.
    But what if you don't have access to the production server. try
    the solution 3
    solution 3 for case 3: You have to enable
    login from other timezone / ip for your google account.
    to do this follow the link https://g.co/allowaccess and
    allow access by clicking the continue button.
    And that's it. Here you go. Now you will be able to login from any of the computer and by any means of app to your google account.
    Regards,
    Nabeel Arif

  • Remote Server returned '530 5.7.1 Client was not authenticated'

    Hello,
    I migrating from Exchange 2007 to Exchange 2013.
    The Exchange 2007 infrastructure look like:
    -2 CAS ( Hub1 and Hub2)
    -2 MBX ( mbx1 and mbx2)
    We add Exchange 2013 in the mix
    2 CAS ( CAS-2K13-1 and CAS-2K13-2)
    2 MBX ( MBX-2K13-1 and MBX-2K13-2)
    All mailbox are curently on Exchange 2007. All inbound email pass by a SMTP Relay who forward the email to a NLB of Exchange 2013.
    The send connector (internet) forward email to the SMTP relay, and the source server are only 2K7 server.
    My problems is : if I replace the two 2K7 server from the source server for the 2K13 MBX, I receive this message:
    The following organization refuse your message: MBX-2K13-1.contoso.com
    Generation server :  MBX-2K13-2.contoso.com
    [email protected]
    MBX-2K13-1.contoso.com  
    Remote Server returned '530 5.7.1 Client was not authenticated'
    idea?

    Do you smarthost from the send connector to another SMTP gateway?
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • 530 5.7.1 client was not authenticated

    OK, I am not in control of an exchange server.  My company uses GoDaddy for our exchange server.  I am an employee.  We use a software for contact management.  When I try to send emails to say a group of customers, it gives me the error
    530 5.7.1 client was not authenticated.  I have talked to GoDaddy until I am blue in the face to no avail.  Everything I find says it is something on their end.  By the way, we just switched to them, we have absolutely no problem with our previous
    company that we had exchange with.  ANY help would be appreciated.  OF course our outlook works.
    The only information our software (called RPMS) requires is the SMTP server  which I enter   smtp.ex3.secureserver.net
    my email address      (*****@alliedsm.com 
     user name which they say is the same as email address  (*****@alliedsm.com) and password. My old exchange service had me use port 27, but new company says I have to use 587.

    In the outbound smtp setting did you set outgoing smtp requires authentication?
    Microsoft Outlook® 2007 (PC)
    From the Tools menu, select "Account Settings"
    Select your Network Solutions Email account and click the "Change" button above..
    Click the "More Settings" button in the bottom-right corner of the E-Mail Accounts window.
    In the Internet Email Settings window, click the "Outgoing Server" tab. Ensure that the box next to "My outgoing server (SMTP) requires authentication" is checked and "use same settings as my incoming mail server" is selected.
    Click the "Advanced" tab and make sure that "Use the following type of encrypted connection" is set to "None" for the incoming (POP3) and the outgoing (SMTP) port settings. Change the outgoing server port to 587.
    James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com

  • 530 5.7.1 Client was not authenticated - Exchange 2013 to external domains

    Hi all,
    I have an Exchange server 2013 on windows 2012 R2 and do all the configuration for sending and receiving the mail according to the document provided by Microsoft.
    But whenever I am trying to send mails from external domains to my exchange server domain I got the following error:
    530 5.7.1 Client was not authenticated
    Same thing I am getting If I am sending mail through outlook from my Exchange domains to external domain.
    But if I am selecting the
    <label for="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers" id="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers_label">Anonymous
    users in the security option of Default Frontend XXXX, I am able to send the mails through outlook.</label>
    <label for="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers" id="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers_label">But I don't
    want to use this option as it will enable to send the mails without validating the Exchange server user name and password.</label>
    SO can anyone please suggest some solutions to resolve this as using Anonymous users fro sending and receiving mails is not secure.
    Regards
    Pankaj Raman.
    <label for="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers" id="ResultPanePlaceHolder_ReceiveConnector_Security_contentContainer_chkPermissionGroupAnonymousUsers_label">
    </label>

    I have a java code for sending mails using the SMTP address of the servers. For sending a mail it required a valid user name and password. For all other SMTP servers if I have used invalid user name and password then I am getting the  530
    5.7.1 Client was not authenticated error, but
    if I am using my SMTP address and invalid user name and password then also I am able to send the mails.
    So I just want to know what I have to configure in the exchange 2013 server so that it will validate the user name and password.
    Regards
    Pankaj Raman.
    Hi Pankaj,
    Thank you for your question.
    Was invalid user name and password included in Java code?
    Did outlook send emails?
    If this issue happen on Java code instead of outlook?
    In fact, Exchange server didn’t validate user account and password, user account and password will be validated on domain controller,
    I suggest we create a new dedicated receive connector and enable “anonymous” permission for java code
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • 5.7.1 Client was not authenticated

    hey,
    I need to send mail over "daily tasks, and i get the following exception :
    System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated
       at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
       at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)
       at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
    I check the user to see if he not a locked, and he doesn't .
    I check the smtp mail server ans he is ok.
    what else can i check? how can i fix this? this is super urgent.
    this is my code :
        MailMessage mess = null;
                Attachment attach = null;
                SmtpClient smtp = null;
                try
                    mess = new MailMessage();
                    smtp = new SmtpClient("smtp.office365.com");
                    smtp.Port = 587;
                    smtp.EnableSsl = true;
                    System.Net.NetworkCredential cred = new System.Net.NetworkCredential("[email protected]", "Pass");
                    smtp.Credentials = cred;
                    mess.From = new MailAddress("[email protected]");
                    mess.Subject = fileName;
                    smtp.Timeout = 300000;
                    smtp.Send(mess);
                catch (SmtpFailedRecipientException exp)
                    Console.WriteLine(exp.FailedRecipient);
                    log.Error(exp);
                    elog.WriteEntry(exp.ToString(),EventLogEntryType.Error, 0);
                catch (Exception e)
                    Console.WriteLine(e.ToString());
                    log.Error(e);
                    elog.WriteEntry(e.ToString(), EventLogEntryType.Error, 0);
                finally
                    attach.Dispose();
                    mess.Dispose();
                    smtp.Dispose();

    Check if the client connector used to connect with the 587 port is allowed to accept authentication on Plain Text.
    Try a relay connector if you want to send the email without the authentication.
    http://technet.microsoft.com/en-us/library/bb232021(v=exchg.141).aspx
    Syed MM Messaging SME - IBM || MCTS || MCSE || MCSA || VCP5 || VCA ||

  • Javax.mail.MessagingException: 505 Client was not authenticated

    Hi!,
    I got the following error:
    Exception in thread "main" javax.mail.MessagingException: 505 Client was not authenticated
    at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:507)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:312)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:168)
    at HelloMail.main(HelloMail.java:35)
    This is the code:
    To send an email I need authentification, and I include the mail.smtp.auth propertie and
    "message.saveChanges();
    Transport transport = session.getTransport("smtp");
    transport.connect("mail.xxx.com.mx","harriaga",passw);
    transport.sendMessage(message,message.getAllRecipients());
    transport.close();"
    Do you know if I am skip something.
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class HelloMail {
    public static void main(String args[]) throws Exception {
    String host="mail.xxx.com.mx"; //obviously doesn't work
    String from="[email protected]"; //sender's email
    String to ="[email protected]" ; //receiver's email
    Properties props = System.getProperties();
    props.put("mail.smtp.host", host);
    props.put("mail.smtp.auth", "true");
    Session session=Session.getInstance(props,null);
    MimeMessage message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO, new
    InternetAddress(to));
    message.setSubject(" My Test HTML email ");
    message.setText(" Here is the content ");
    message.saveChanges();
    Transport transport = session.getTransport("smtp");
    transport.connect("mail.xxx.com.mx","harriaga",passw);
    transport.sendMessage(message,message.getAllRecipients());
    transport.close();
    Thanks for all,
    HAG.

    HAG,
    you need to create a session object passing a valid authenticator. In other words,
    MyAuthenticator auth = new MyAuthenticator ();
    Session session = Session.getInstance(props, auth);where MyAuthenticator is something like
    public class MyAuthenticator extends Authenticator{
      public PasswordAuthentication getPasswordAutentication(){
        return new PasswordAuthentication( "user", "password");
    }You obviously need to replace username and password with data valid for your e-mail account.
    Hope this helps,
    gulfi

  • "530 5.7.1 Client was not authenticated" Error with mail service

    Hi,
    I have some problem with Mail service with the Webspaces application. I have configured the Service (with MS Exchange server) with WebSpaces Application with the required IMAP, SMTP, External Application and LDAP Settings correctly. I opened the Mail Page and Logged in with the
    user credentials. I am able to see the incoming mails , But when I try to send a mail I am getting the following exception. For some reason, SMTP send is failing. I did the same IMAP and SMTP settings in MS Outlook and successfully sent the mail. what could be the problem? Please repond.
    oracle.webcenter.collab.mail.MailException: Failed to send the message with subject "Test". Further information: 530 5.7.1 Client was not authenticated
         at oracle.webcenter.collab.mail.MailSession.sendMessage(MailSession.java:864)
         at oracle.webcenter.collab.mail.view.backing.MessageHandler.sendMessage(MessageHandler.java:528)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellPageRedirectionFilter.doFilter(WebCenterShellPageRedirectionFilter.java:210)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterShellFilter.doFilter(WebCenterShellFilter.java:603)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:256)
         at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:215)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
         at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
         at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
         at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
         at oracle.webcenter.collab.mail.MailSession.sendMessage(MailSession.java:850)
    Edited by: indra_owc on Jan 9, 2010 6:14 PM

    The server probably wants you to use the STARTTLS command before you authenticate.
    See the com.sun.mail.smtp package javadocs for the property to set to enable that.

  • Email Notification - ERROR: 530 5.7.1 Client was not authenticated

    Hi People!
    I am receiving the follows error when I run scheduled task. Also, I used Javamail and I have the same problem. The problem: MAIL FROM isn´t authenticating. How can I solve it?
    Other question: How can I configure Email Notification in debug?
    Thanks!
    API Code (Schedule task)
    this.dataProvider = getDataBase();
    tcEmailNotificationUtil emaildef = new tcEmailNotificationUtil(dataProvider);
    emaildef.setSubject("User: " + s2);
    emaildef.setFromAddress(fromaddr);
    emaildef.setBody("OIM has detected a modify in Active Directory. " );
    emaildef.sendEmail(toaddr);
    System Configuration->XL.MailServer=Email Server
    IT Resource 'Email server'
    Name Email Server
    Auth : true
    Server name : exchange server name
    User name : <domain name>\User name
    Password :: Password of that user
    ERROR
    ERROR,11 Jan 2011 18:18:00,375,[XELLERATE.REQUESTS],Class/Method: tcEmailNotificationUtil/sendEmail encounter some problems: 530 5.7.1 Client was not authenticated
    com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.sendEmail(Unknown Source)
    at com.thortech.xl.schedule.tasks.ActiveDirectoryReconTask.processUserChange(ActiveDirectoryReconTask.java:657)
    at com.thortech.xl.schedule.tasks.ActiveDirectoryReconTask.processBatch(ActiveDirectoryReconTask.java:341)
    at com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.searchResultPageEnum(Unknown Source)
    at com.thortech.xl.schedule.tasks.ActiveDirectoryReconTask.performReconciliation(ActiveDirectoryReconTask.java:248)
    at com.thortech.xl.schedule.tasks.ActiveDirectoryReconTask.execute(ActiveDirectoryReconTask.java:97)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    --------------------------------------------------------------------------------

    Thanks Justin,
    for all your help and support.
    there was some settings to be done in the exchange server. and today the system admin co-operated with me and did the changes in the exchange.
    now the messaging is working fine.
    Thanks,
    Rashed

  • Error in sending mail :  SMTPSendFailedExcept Client was not authenticated

    Hello all,
    I am new to the forum,
    I have a small program to send mail to Microsoft exchange server.
    Now the server is enabled with https option.
    Now i am getting error :
    com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.1 Client was not authenticated
    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1668)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1207)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:735)
    at javax.mail.Transport.send0(Transport.java:191)
    at javax.mail.Transport.send(Transport.java:120)
    at SendEmail.main(SendEmail.java:55)
    there are two things:
    As the program sends mail from a webpage, a user password used for login to the webpage is different from his mail server password, it is not possible to give a username and password to send mail / read mail from the exchange server.
    Please give any other option without passing user name and password to the exchange server.

    1. Reconfigure the Exchange server to allow sending without authentication.
    2. Authenticate to the Exchange server using credentials specific to the web application itself.
    Configure the Exchange server to allow the user with those credentials to send mail that appears
    to be from any other user.
    No, I don't know how to do any of that with Exchange; ask Microsoft.

  • [nQSError:75006] Unable to send MAIL Command.5.7.1 Client was not authentic

    Hi,
    We have configured SMTP server details in OBIEE 11g OEM to send mail from Agent. When we run Agents, we are getting the error
    [nQSError:75006] Unable to send MAIL Command.5.7.1 Client was not authenticated
    Did anyone face the issue? In that Case, Please give some inputs on that.

    Hi Satya,
    I would like to few more which I have done today.
    I wanted to test telnet SMTP on the OBIEE Installed Machine and I was able to succeed also. Please find below what I did
    C:\>telnet mail.smtp.com 25
    220 internal.mail.smtp.com Microsoft ESMTP MAIL Service Readt at Fri,
    25 May 2012 00:51:00 -0400
    ehlo
    250-internal.mail.smtp.com Hello [162.44.76.47]
    250-SIZE
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-X-ANONYMOUSTLS
    250-AUTH NTLM LOGIN
    250-X-EXPS GSSAPI NILM
    250-8BITMIME
    250-BINARYMIME
    250-CHUNKING
    250-XEXCH50
    250 XRDST
    AUTH LOGIN
    334 VXN1cm5hbWU6
    Uy5SY-------------- Mail User Name
    334 UGFzc3dvcmWU6
    U2hfpd------------- Mail Password
    235 2.7.0 Authentication Successful
    mail from:[email protected]
    250 2.1.0 Sender OK
    rcpt to:[email protected]
    250 2.1.5 Recipient OK
    data
    354 start mail input; end with <CRLF>.<CRLF>
    This is a Test Mail
    250 2.6.0 <internal.mail.smtp.com>
    Queue Mail for Delivery
    Mail Received in Inbox
    So, My Question is that, I am able to receive the Mail if I directly access SMTP via Telnet then , Why it is not working in OBIEE and it throws error
    [nQSError:75006] Failed to send MAIL Command.5.7.1 Client was not authenticated
    Please help on resolving the issue?

  • The SMTP server requires a secure connection or the client was not authenticated. -.

    Hello
    I wrote this code. I searched but could not find a solution for my problem.
    private void button_sendemail_Click(object sender, EventArgs e)
    string temp = "mygmailpassword";
    System.Security.SecureString password = new System.Security.SecureString();
    temp.ToCharArray().ToList().ForEach(p => password.AppendChar(p));
    string mailfrom = "…@gmail.com";
    string mailto = "…@yahoo.com";
    string subject = "Hello";
    string body = "Hello, I'm just writing this to say Hi!";
    using (MailMessage mail = new MailMessage())
    mail.From = new MailAddress(mailfrom);
    mail.To.Add(mailto);
    mail.Subject = subject;
    mail.Body = body;
    mail.IsBodyHtml = true;
    // Can set to false, if you are sending pure text.
    using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
    smtp.UseDefaultCredentials = false;
    smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
    smtp.Credentials = new NetworkCredential(mailfrom, password);
    smtp.EnableSsl = true;
    smtp.Send(mail);

    Hi ARZARE,
    After some research and i have tested your code, it works fine on my side. But i used Hotmail
    using (SmtpClient smtp = new SmtpClient("smtp.live.com", 587))
    Per my understanding, you're trying to send from an @gmail.com address and they will require authentication, but you don't have credentials specified.  Try sending from @hotmail.com or change smtp.EnableSsl
    = false to see what happens.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ORA-29279: SMTP permanent error: 530 5.7.1 Client was not authenticated

    Hi ,
    We have mail alert system which sends mail to users upon issues in procedure during daily load and etc.
    But few days ago we have database crash but unfortunately mail alert didnot get generated and the above error is desplayed.
    The main error is
    ORA-12154: TNS:could not resolve the connect identifier specified.
    Will the SMTP server work during a database crash/shutdown or else the above ORA-12154 error has anything to do with SMTP failure.
    Thanks in advance.

    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 [B]NEVER[/B] involves the listener, the database itself or anything on the DB Server.
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
    The lookup operation fails because the name provided can [B]NOT[/B] be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154  error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • Client tools not  authenticating via Windows AD after upgrade to SP4

    We recently upgraded our test environment to SP4 to correct a problem we were having with Windows AD authentication from InfoView.  The upgrade to SP4 and JDK 1.5 solved our InfoView problem, but our client tools (Designer, Desk, Crystal Reports) can no longer login to our test environment using Windows AD authentication.
    The error message we get when trying to connect to the SP4 instance using Designer or Deski  is as follows:
    [repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(Internal error.(hr=#0x80042a01)
    Enterprise authentication continues to work as normal.  My first thought was that my client tools are at the SP2 level and they are trying to connect to an SP4 instance.  Therefore, I need to upgrade the client tools to the SP4 level as well in order to get Windows AD authentication to work.  Is this correct, and if so what is the proper way to upgrade the client tools to SP4? 
    On the SAP download site you can download the SP4 Full install, but when you run it says to uninstall the existing version first which I haven't tried yet.  Does the SP4 full install give the option to do a client install versus a server install like previous SP2 install?

    While we always recommend matching versions I have rarely seen a problem with client tools and AD using different versions. I think you may have a different issue.
    If your clients were installed from a deski/designer ONLY install then you can use a client version of SP4 that is much smaller. There should also be a server version that can be installed on top of deski/designer+ client tools (this should not require an uninstall). Finally there is an integrated build which includes the full XIR2 product with SP4 built in(it sounds like you downloaded this).
    If SP4 does not resolve I'd suggest opening a message with support and packet scanning the client with netmon or wireshark.
    What's the error you get with crystal using AD? There was a known issue on SP3 client patch that made all clients fail with AD/LDAP.
    Regards,
    Tim

Maybe you are looking for