Skip to Content
0
Former Member
Sep 26, 2008 at 07:25 PM

send e mail to my company outlook inbox? looking for good FM

53 Views

Hi Experts,

In my Z prog. I need to send some message to internet eloctronic mail company outlook addressess........so, am using MC_SEND_MAIL function module..........but, not working!!!!!!!!!!!!

in my testing in SE37, i tried different ways, like, i hv given my company outlook address, yahoo address, existing distribution list(so23) name..........but in any case its working!!!!!!!!!

i am passing like below,

{

CALL FUNCTION 'MC_SEND_MAIL'

EXPORTING

MS_MAIL_SENDMODE = 'B'

MS_MAIL_TITLE = ERR_TITLE

MS_MAIL_DESCRIPTION = ERR_DESC

ms_mail_receiver = I_USERS-BNAME (in 2nd trails, i passed list as z_my_list)

MS_MAIL_EXPRESS = 'X' ---> also tried with out X

MS_MAIL_LANGU = SY-LANGU

IMPORTING

MS_OK_CODE = OKCD

TABLES

MS_MAIL_CONT = T_MCMAILOBJ }

but, AM GETTING WORK FLOW EXPRESS MESSAGES CORRECTLY!!!!!

So, let me know that,

1 - Whts is the mistake? am i passing incorrectly?

2 - Can I suspect that, there is some thing mistake in SETUP of distribution list by BASIS?

then, why my outlook and yahoo r not working?

3 - i dont care, which is the FM, just I wanna to send message to my comapny outlook adressess, either as a distribution list or single id.

replies appreciated

thanq

Edited by: SAP ABAPer on Sep 26, 2008 9:25 PM

Edited by: SAP ABAPer on Sep 26, 2008 9:26 PM