on 10-29-2013 5:08 AM
Hi All,
We have the below requirement:
We need to extract all portal user ids and save it in excel file. Then We need to send this excel file to some mail ids.
Can you please provide us the information how to send the excel file to outlook mail id so the person will receive a mail with the attached excel file in Web Dynpro Java?
Thanks & Regards,
Susmita
Hi,
Check this links ... it will help you..
http://wiki.scn.sap.com/wiki/display/WDJava/Email+with+Multiple+Attachments+to+Multiple+Recipients
http://scn.sap.com/message/9642555
Thanks,
Sreeni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreeni,
Thanks for quick reply.However I have already gone through these two forums from scn site. One is related to PDF attachment . In the 2nd one in the wiki its not cleared what node is used in the context tab Also which host name and port number (system or outlook) need to used is not clear.
But Our requirement is to attach the excel sheet while sending mail to recipient mail id. Can you please let me know how to send the excel sheet attachment in mail?
Thanks & Regards,
Susmita
Susmita,
From the wiki.. all the variables are for mail server related
String hostName = "Put your Host Name"; mail server host
String mailFrom = "Put Sender's Address"; sender mail id
String[] mailTo = "Put Multiple Recipient's Address"; receiver mail id
String portNo = "Put Port Number"; mail server port number
resource has been created for file path not for file type..
Thanks,
Sreeni.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.