Highlighted
Frequent Contributor.
Frequent Contributor.
181 views

Sending email with attachment using JavaMail

Hello everyone!

Can javamail send an email with an attachment? How should we specifiy in the eventout record that 'something' is to be sent as attachment on a mail to be sent?

Thanks in advance.

0 Likes
5 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Sending email with attachment using JavaMail

Hello Xaviconde

hope you are doing fine.

I would like to let you know that I am making the proper investigation about it, as soon as I have an update I will let you know.

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Sending email with attachment using JavaMail

Hi,

I believe this forum could help you, please check it and let me know.

/t5/HPE-Anywhere-Developer-Forum/Availability-of-sending-email-with-attachment/m-p/6620472/highlight/true#M1573

 

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: Sending email with attachment using JavaMail

Hi Carlos,

thanks for your answer, but I'm asking about HP Service Manager's JavaMail feature, not HPE Anywhere's.

In HP Service Manager you configure JavaMail for sending emails. The process reads a record from eventout with the email's header and body. I wanted to know how to store an attachment so JavaMail would include the attached file in the email, just as it does with the header and body fields.

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Sending email with attachment using JavaMail

Hi, Can you please share if your issue is resolved ? If yes then you can post the answer here, it ll help others too. If not then you can log a case with HP Software support or Professional Services for customization requests.
Regards,
HPE Software Support

0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: Sending email with attachment using JavaMail

Hi Kiran,

finally it was not needed to send an email with attachment, so I didn't further investigate it. 

Best regards.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.