on 03-17-2012 7:57 AM
Hi,
In the B1i 'Integration solution for SAP Business One' under 'Maintenance' and 'Cfg Connectivity' i have to setup the SMTP server details, according to the 'RFQ_Installation' powerpoint instructions. I would like to use smtp.gmail.com, but this uses TLS/STARTTLS or SSL , which doesn't seem supported by the B1i SMTP config.
I have even tried using smtp2go.com free trial, which doesn't require authentication, but cannot get it to send email.
The error I'm receiving is:
SAP B1iP detected an error:
Emitted HTTP-Code
500 - Internal Server Error
Internal Reason
smtp.gmail.com
Recommendation
Check for the correctness of your activity or environment or ask your system-administrator for further help.
--------------------------------------------------------------------------------
Full Internal Error Message
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.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: java.net.UnknownHostException: smtp.gmail.com
Could someone who has the SMTP side working please help!
Thank you.
Kind Regards,
George
P.S : The VM in which the B1i was running did not have internet connectivity due to network adapter & firewall issues in the host, which are now resolved.
Has anyone successfully used smtp.gmail.com ?
The error i'm now receiving is:
Emitted HTTP-Code
500 - Internal Server Error
Internal Reason
554 SMTP synchronization error
Recommendation
Check for the correctness of your activity or environment or ask your system-administrator for further help.
Full Internal Error Message
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.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.adapter.smtp.SendMailFailedException: 554 SMTP synchronization error
Message was edited by: George Mamacos
Hi George,
I think there's a limitation on B1iF regarding STARTTLS parameters.
Thus, I've used "Restricted Gmail SMTP server" protocol instead, where does not require authentication, and you will be restricted to send messages to Gmail or Google Apps users only.
More info here: Google Apps SMTP settings to send mail from a printer, scanner, or app - Google Apps Administrator H...
So the parameters as the following:
Thanks.
Regards,
Jacob Tan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi George,
try port 587
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi George, I have run into this error also. You are right about B1if not supporting TLS. I have worked around this by using an smtp that allows smtp fowarding (mail forwarding). Online webmail providers don't offer full smtp functionality where smtp fowarding is supported completely. There is another solution, enable smtp on the same server as B1i. And if you are using a VM, make sure the VM is exposed, particularly the smtp server, to the internet using a public IP and not a private IP.
Hope this info was useful,
MIke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike,
Thanks for your reply, which I'm working through. I've settled on using 'hMailServer' in the VM which accepts SMTP requests and relays / forwards these on to another SMTP server of my choice. So, the B1i just has 'localhost' port 25 setup and this seems to work fine (I can successfully 'telnet localhost 25' ). I will test the telnet to the SMTP Relay tomorrow, when I have some more time.
I hit another error in the interim:
XCE078 The deployed IPO-Step instance currently is deactivated: /vPlatformIDE/com.sap.b1i.vplatform.ide/ipo/vPlatform.ide.ipo/TestEmailConfig
Did you maybe come across this and resolve it by 'activating' a B1i scenario or something similar? Reboots do not help. It seems if you send too many test emails, it deactivates ?! There is absolutely nothing on the SCN or elsewhere with regard to this error !
Thanks very much for your help so far.
Kind Regards,
George
P.S. I subsequently resolved the above error by going to 'Monitoring' then 'Process Control' and clicking the button 'Clear INCOMMIT Transactions'. It will say something like "1 INCOMMIT Transactions set to final state" and you will be able to keep emailing test emails thereafter.
Note: If you scroll to the bottom of the page mentioned above you will see 'TestEmailConfig' under the heading 'Framework Processes'. The button 'IPO Log' can give you additional details of the transaction.
Message was edited by: George Mamacos
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.