05-06-2010 1:22 PM
We are using the "print to mail" (sending a PDF file to an Internet-style e-mail address).
(As a matter oif fact, we have a printer called MPDF.)
We have received the following question: is it possible, within such a print request, to specify several recipients?
I have tried a comma-separated list - that does not work.
I have tried a SAPoffice distribution list - that does not work either.
05-06-2010 2:09 PM
Hi,
be more specific, since there are different methods for sending emails from SAP. I use function SO_NEW_DOCUMENT_SEND_API1 and can add any number of recipients
Receiver list:
recvlist-receiver = email1.
recvlist-EXPRESS = 'X'.
recvlist-rec_type = 'B'. " U = Internet / B = SAP User
APPEND recvlist.
recvlist-receiver = email2.
recvlist-EXPRESS = 'X'.
recvlist-rec_type = 'B'. " U = Internet / B = SAP User
APPEND recvlist.
05-06-2010 2:09 PM
Hi,
be more specific, since there are different methods for sending emails from SAP. I use function SO_NEW_DOCUMENT_SEND_API1 and can add any number of recipients
Receiver list:
recvlist-receiver = email1.
recvlist-EXPRESS = 'X'.
recvlist-rec_type = 'B'. " U = Internet / B = SAP User
APPEND recvlist.
recvlist-receiver = email2.
recvlist-EXPRESS = 'X'.
recvlist-rec_type = 'B'. " U = Internet / B = SAP User
APPEND recvlist.
05-06-2010 2:32 PM
Thank you for your reply.
Your approach corresponds to the SAPoffice distribution-list.
Our context is the classic "print" dialog, with a printer like our MPDF printer.
It has room for one recipient. If that recipient is not an Internet-style address (but a SAPoffice DL, for example), processing fails downstram in SAPconnect.
05-06-2010 5:16 PM
In order to get past the limitation of a single recipient, we got our e-mail admin to create e-mail distribution groups, such as marketing @ yourcompany.com or fridaydoughnutgroup @ yourcompany.com.
So the solution we took was not in SAP but on our e-mail server.
05-07-2010 10:15 AM
Thank you for your reply.
This is more-or-less what I expected: that this is best handled outside of SAP, in the mail system.