Skip to Content
0
Former Member
May 27, 2008 at 11:00 AM

sending mail with out attachement

41 Views

hi experts,

what is the function module to send a mail with out attachment?

i am using this function module.

CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'

EXPORTING

DOCUMENT_DATA = maildata

DOCUMENT_TYPE = 'RAW'

PUT_IN_OUTBOX = 'X'

COMMIT_WORK = 'X'

TABLES

OBJECT_HEADER = mailhdr

OBJECT_CONTENT = mailcnt

RECEIVERS = mailrec

EXCEPTIONS

TOO_MANY_RECEIVERS = 1

DOCUMENT_NOT_SENT = 2

DOCUMENT_TYPE_NOT_EXIST = 3

OPERATION_NO_AUTHORIZATION = 4

PARAMETER_ERROR = 5

X_ERROR = 6

ENQUEUE_ERROR = 7

OTHERS

if i use this function module i will receive mail as an attachment but my aim is to send mail as message.

here i will get that message in some file as attachment.

is there any other function module to send mail as per my requirement?

please help me regarding this.

thanks and regards,

nag.