I am using the standard function module for sending mails.
** To Trigger a mail ** CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' EXPORTING document_data = ls_docdata put_in_outbox = lc_x commit_work = lc_x TABLES packing_list = lt_objpack contents_txt = lt_objtxt receivers = lt_reclist.
lt_reclist contains two recoreds
1) RECEIVER requestor's mail id
2)RECEIVER approver's mail id
The mail is trigered from requestor's inbox.
The problem here is that neither the approver is recieving the mails in his inbox nor the requestor is recieving a copy of mail in his inbox but there is a copy of this mail in requestor's outbox.
I am testing all this in business workplace inbox as there is no provision of trigering mail in the development server.
Please help me on this.