Problem in sending mail..
I have writen the code in BAPI to send the mail. this pabi will be called in EP.this BAPI for order cration . when i testing the bapi (function module ) order creation and mail sending working properly . but when i creationg order from EP order is will create properly but mail part is not working .pleae advice..