cancel
Showing results for 
Search instead for 
Did you mean: 

How to send the excel file to outlook mail id in Web Dynpro Java

susmita_panigrahi
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos
susmita_panigrahi
Active Participant
0 Kudos

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

Former Member
0 Kudos

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.

susmita_panigrahi
Active Participant
0 Kudos

Hi Sreeni,

I got the mail server host name. Do you know how to get mail server port number?

Thanks & Regards,
Susmita

Former Member
0 Kudos

Hi,

Need to check with network people...of your company or customer

Thanks,

Sreeni.

pradeep_kumar5
Active Participant
0 Kudos

Hi Susmita,

Go to -> NWA -> Configuration Management -> Infrastructure -> Java System properties -> Services tab -> java Mail client. you can check / change the properties like host name, port, from and all other details.

Regards,

Pradeep