Skip to Content
avatar image
Former Member

B1if Email Configuration

Hi Experts,

I am trying to send mail through B1if, so i given the GMAIL mail setting parameter but when my package running i am getting following error. Please if any one have idea to configure mail in B1if please share me.


"com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtZT 534-5.7.14 8-vpesyYvuRf1JI2ZzO0SQZSl1I7Lx6c-FHT1NHWUcWSmw3JdwgPvfay11SpWI3ng-aG2V 534-5.7.14 UA08FCLd9BUdn3Cq_Rf_Dsm-uxejwGgfOK3XoIW8dYLKP1m1CcO7HAZZtKSXgUpFwnMDMR 534-5.7.14 itiPMUgqk0PamCZxCyHiTnWWrYiV4HGfjpqB4u2xIM6yEM6rzBgBkaYHVKDw0o6AomnA89 534-5.7.14 mou02QA> Please log in via your web browser and then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754 fm4sm30595625pdb.88 - gsmtp"


Thanks,


Karthick S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 29, 2014 at 12:53 PM

    Hi

    Go to 'Cfg Connectivity' in 'Maintenance' menu. Provide necessary data. Click 'Test E-mail'. If you were able to successfully send email then go to your flow and add 'Send email' atom with predecessor transformation atom. In predecessor transformation atom use this:

    <email xmlns="">
      <xsl:variable name="cdoc" select="document('/com.sap.b1i.vplatform.ide/mode/mode.xml')" />
    <connect>
    <host>
      <xsl:value-of select="$cdoc/vpf:vPlatform/vpf:smtpserver" />
      </host>
    <port>
      <xsl:value-of select="$cdoc/vpf:vPlatform/vpf:smtpport" />
      </port>
    <user>
      <xsl:value-of select="$cdoc/vpf:vPlatform/vpf:smtpuser" />
      </user>
    <password>
      <xsl:value-of select="$cdoc/vpf:vPlatform/vpf:smtppwd" />
      </password>
    <protocol>
      <xsl:value-of select="$cdoc/vpf:vPlatform/vpf:protocol" />
      </protocol>
      </connect>
    
    

    It's just a part of transformation where you provide info about connection - you still need to fulfill envelope tag but this is not problematic.

    Kind regards,

    Radek

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Radoslaw Kowal,

      Good morning,

      Actually i did the same thing but i am not given my outlook mail configuration, instated of that i given gmail configuration but i can't send mail through that test mail process.

      So i add the email atom there i given the details like which you send the xml format.

      after that i got  below error.

      "com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtZT 534-5.7.14 8-vpesyYvuRf1JI2ZzO0SQZSl1I7Lx6c-FHT1NHWUcWSmw3JdwgPvfay11SpWI3ng-aG2V 534-5.7.14 UA08FCLd9BUdn3Cq_Rf_Dsm-uxejwGgfOK3XoIW8dYLKP1m1CcO7HAZZtKSXgUpFwnMDMR 534-5.7.14 itiPMUgqk0PamCZxCyHiTnWWrYiV4HGfjpqB4u2xIM6yEM6rzBgBkaYHVKDw0o6AomnA89 534-5.7.14 mou02QA> Please log in via your web browser and then try again. 534-5.7.14 Learn more at 534 5.7.14 https://support.google.com/mail/bin/answer.py?answer=78754fm4sm30595625pdb.88 - gsmtp"


      Thank

      Karthick S