Skip to Content
0
Former Member
Aug 10, 2009 at 08:42 PM

Email finctionality

28 Views

Hi Experts,

We need to send the report outputs via email regularly . For this I searched in the some other forums long back and created once custom function module based on forum steps.

It is working fine with our company outlook mails without any problems.

But when I used external mail ids (like... yahoo/ gmail), I am getting mails. but attachment was not comming. attachment content was showing in the email body with not readable format. like below.

begin 660 Report_By_Receiving_081009154658.xls

M5V%R96AO=7-E"2!,;V-A=&EO;@D@4&%L;&5T($YU;6)E<@D@36%T97)I86P)

M(%%T>0D@27-S=65D(&1A=&4)('=O<FL)(%EE87()($U/"2!$= D@4F5C96EV

5:6YG(&1T"2!03PD@5')A:6QE<@D*

some other company people are not at all receiving any mail. I checked the function module, no restiction anywhere.

normall we receive mails from *Standard SAP R/3". I checked in the function module thouroghly each and every step. no where this address was mentioned. I checked the variable d_uuencode also.

  • Call the following RFC function to call the required

  • unix command.

CALL FUNCTION 'RFC_REMOTE_PIPE'

DESTINATION 'SERVER_EXEC'

EXPORTING COMMAND = d_uuencode

READ = 'X'

EXCEPTIONS

SYSTEM_FAILURE = 1

COMMUNICATION_FAILURE = 2

OTHERS = 3.

===

Question1: Now I want to send the mails from my userid instead of Standard SAP R/3. How We can send.

Question2: why attachment is displaying not readble format(mentioned above), when I used external mail ids.

Please help me

Thanks in advance

Edited by: r badveli on Aug 11, 2009 4:10 PM