I am creating an agent that runs on server at night, to send emails to a group of people in my company. I need to use “stream.open” to import the jpg from Shared Image Resource as we can’t access to the server drive.
Search through the forum and cannot find the solution to this. Most of the sample code enclosed are reading the image file from local drive (c:).
Any suggestions of code I can use?
Thank you in advance
Subject: stream.open for inline image
Hi, If u have any Drive which is shared by all the users or which is accessible by all the users,Just copy the image in that Drive and use the @command(Fileimport).You should do this in the template.For example,if a user wants to send a mail to some of his colleagues who are abroad or some where ,the user wants his mail to be sent along with his company logo or some other image.He should do this in the template.If he is a single user,he can directly change his mail file.If many users are there,it’s better to change in the template .If u have any doubts or if u didnt understand contact me
Subject: RE: stream.open for inline image
Hi, thanks for your response.
The problem is I don’t have any drive that I could access. I need to read/get the image from Shared Image Resource. I am creating an unattended agent (to run at night) to send mail automatically with the image showed/pasted inside the body of the mail.
Hope you can help me!
Thanks!
Subject: RE: stream.open for inline image
The easiest thing to do would be to create a document that has the image pasted into a rich text field, then use AppendRTItem to add it to the mail document’s body.