Summary:

Recently we had a client requirement on how to send an email created using CRM Mail forms containing client logo and other promotional images outside client’s network. 

For example: When we create a custom mail form with images(Client Logo) , Email is successfully transmitted including images when the recipient email id is within clients network, but email does not contain any images when the same mail is sent to a customer using other mail client like Gmail or Hotmail.

Requirement in Detail:


1) Mail forms are used to send tailored marketing information to target groups or to lists of marketing prospects. The system tailors the information based on the mail form, and           the current master data for the business partners in the specified target groups, or the data for the marketing prospects


2) Mail forms also provide the option to insert images for promotion or company logo’s.

3) When we insert any image using mail form, this image gets saved in content server of mime repository in SAP and due to security constraint this image will not be accessible      outside the network.

For E.g. we have inserted an Image in Mail form using “Insert Picture” (highlighted in yellow) option. When we select Design source option (Highlighted in green) we can see the image gets inserted using content server of Mime Repository.


/wp-content/uploads/2016/06/2016_06_01_11_46_07_965339.png

/wp-content/uploads/2016/06/2016_06_01_11_47_58_965340.png

4) This becomes a challenge because content is stored in SAP system and security team cannot allow the folders to be accessed outside of clients network.


Solution:

The simple solution which I could come up with is to edit the html source of mail forms and replace only the image path from Content server to an open server file path, by replacing the image path email client will be able to access the image content when the mail is sent outside the network of client.

Steps Involved:

1) Create a folder in client web server and upload all the images in that folder.

2) Test all the image path in your web browser to make sure that the image is visible.

/wp-content/uploads/2016/06/2016_06_01_11_50_10_965341.png

3) Image Path will be somewhat like this.

     https://www.abcd.com /images/image1.png


4) Replace this image path with the path of content server.

5) For E.g. replace the highlighted path of Content server with the file path where image’s has been uploaded.

/wp-content/uploads/2016/06/2016_06_01_11_51_23_965345.png

/wp-content/uploads/2016/06/2016_06_01_11_51_59_965346.png

     HTML Syntax to insert an Image:

     <body>

     <form>

     <img src = “https://www.abcd.com/<folder name>/<FILE PATH NAME ON WEB SERVER>” alt=” “>

     </form>

     </body>


6) Save the mail form and trigger an Email using an id which is outside client’s network.

7) Validate if image is visible in SOST transaction.

/wp-content/uploads/2016/06/2016_06_01_11_54_09_965355.png

8) Validate if image is visible in other mail client.

/wp-content/uploads/2016/06/2016_06_01_11_55_19_965357.png

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply