{"action":"closed","issue":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/1521","repository_url":"https://api.github.com/repos/salesagility/SuiteCRM","labels_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/1521/labels{/name}","comments_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/1521/comments","events_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/1521/events","html_url":"https://github.com/salesagility/SuiteCRM/issues/1521","id":157687086,"number":1521,"title":"Embedded images in email templates are sent as attachments","user":{"login":"mrndig","id":19667899,"avatar_url":"https://avatars0.githubusercontent.com/u/19667899?v=4","gravatar_id":"","url":"https://api.github.com/users/mrndig","html_url":"https://github.com/mrndig","followers_url":"https://api.github.com/users/mrndig/followers","following_url":"https://api.github.com/users/mrndig/following{/other_user}","gists_url":"https://api.github.com/users/mrndig/gists{/gist_id}","starred_url":"https://api.github.com/users/mrndig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrndig/subscriptions","organizations_url":"https://api.github.com/users/mrndig/orgs","repos_url":"https://api.github.com/users/mrndig/repos","events_url":"https://api.github.com/users/mrndig/events{/privacy}","received_events_url":"https://api.github.com/users/mrndig/received_events","type":"User","site_admin":false},"labels":[{"id":253714754,"url":"https://api.github.com/repos/salesagility/SuiteCRM/labels/High%20Priority","name":"High Priority","color":"e11d21","default":false},{"id":57696485,"url":"https://api.github.com/repos/salesagility/SuiteCRM/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"closed","locked":false,"assignee":{"login":"daniel-samson","id":12231216,"avatar_url":"https://avatars0.githubusercontent.com/u/12231216?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-samson","html_url":"https://github.com/daniel-samson","followers_url":"https://api.github.com/users/daniel-samson/followers","following_url":"https://api.github.com/users/daniel-samson/following{/other_user}","gists_url":"https://api.github.com/users/daniel-samson/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-samson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-samson/subscriptions","organizations_url":"https://api.github.com/users/daniel-samson/orgs","repos_url":"https://api.github.com/users/daniel-samson/repos","events_url":"https://api.github.com/users/daniel-samson/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-samson/received_events","type":"User","site_admin":false},"assignees":[{"login":"daniel-samson","id":12231216,"avatar_url":"https://avatars0.githubusercontent.com/u/12231216?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-samson","html_url":"https://github.com/daniel-samson","followers_url":"https://api.github.com/users/daniel-samson/followers","following_url":"https://api.github.com/users/daniel-samson/following{/other_user}","gists_url":"https://api.github.com/users/daniel-samson/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-samson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-samson/subscriptions","organizations_url":"https://api.github.com/users/daniel-samson/orgs","repos_url":"https://api.github.com/users/daniel-samson/repos","events_url":"https://api.github.com/users/daniel-samson/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-samson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":29,"created_at":"2016-05-31T14:34:37Z","updated_at":"2018-02-12T13:12:25Z","closed_at":"2018-02-12T13:12:25Z","author_association":"NONE","body":"Hi all. I'm running SuiteCRM 7.6.4. When you try to send an email from a saved email template and it includes an image, this image is not sent inline but as an attachment. These are the steps to reproduce:\n## 1) Create an email template:\n\n![suitecrm1](https://cloud.githubusercontent.com/assets/19667899/15676956/8ec9c256-2748-11e6-92f1-3230a3b6f26b.jpg)\n## 2) Upload an image:\n\n![suitecrm2](https://cloud.githubusercontent.com/assets/19667899/15676598/23eac774-2747-11e6-82d2-39efe7919168.jpg)\n\nThe image's URL is: index.php?entryPoint=download&type=Notes&id=1440fcd2-d94b-0e07-1b33-574d8f6a6536&filename=Koala.jpg\n## 3) Now compose a new email, using this template, and send it:\n\n![suitecrm3](https://cloud.githubusercontent.com/assets/19667899/15676704/a52d9938-2747-11e6-85a0-260fd4f6a99c.jpg)\n## 4) The image is sent as an attachment, but not inline\n\n![suitecrm4](https://cloud.githubusercontent.com/assets/19667899/15676766/d927dd66-2747-11e6-8245-134b12944e9f.jpg)\n\nThe image is sent as an attachment, but not inline. Where the image should be, you can see the alt text (sample.jpg by default).\n\nThis is the HTML version of the email:\n\n```\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.=\nw3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">=0A<html>=0A<head>=0A</head>=\n=0A<body>=0A<div class=3D\"mozaik-inner\" style=3D\"font-family: Arial, Helvet=\nica, sans-serif; font-size: 14px; line-height: 22.4px; color: #444444; padd=\ning: 0px 30px; margin: 0px;\">=0A<p style=3D\"font-family: Arial, Helvetica, =\nsans-serif; font-size: 14px; line-height: 22.4px; color: #444444; padding: =\n0px; margin: 0px;\">&nbsp;</p>=0A<h1 style=3D\"font-family: Arial, Helvetica,=\n sans-serif; font-size: 24px; line-height: 38.4px; color: #444444; padding:=\n 0px; margin: 0px;\">Add your headline here..</h1>=0A<div class=3D\"mozaik-cl=\near\" style=3D\"font-family: Arial, Helvetica, sans-serif; font-size: 14px; l=\nine-height: 22.4px; color: #444444; padding: 0px; margin: 0px; height: 0px;=\n\">&nbsp;</div>=0A</div>=0A<div class=3D\"mozaik-inner\" style=3D\"font-family:=\n Arial, Helvetica, sans-serif; font-size: 14px; line-height: 22.4px; color:=\n #444444; padding: 0px 30px; margin: 0px;\">=0A<table class=3D\"mce-item-tabl=\ne\" style=3D\"width: 100%; font-family: Arial, Helvetica, sans-serif; font-si=\nze: 14px; line-height: 22.4px; color: #444444; padding: 0px; margin: 0px;\">=\n=0A<tbody style=3D\"font-family: Arial, Helvetica, sans-serif; font-size: 14=\npx; line-height: 22.4px; color: #444444; padding: 0px; margin: 0px;\">=0A<tr=\n style=3D\"font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-=\nheight: 22.4px; color: #444444; padding: 0px; margin: 0px;\">=0A<td style=3D=\n\"font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 2=\n2.4px; color: #444444; padding: 3px 3px 3px 0px; margin: 0px;\"><img style=\n=3D\"font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height=\n: 22.4px; color: #444444; padding: 0px; margin: 0px;\" src=3D\"cid:1440fcd2-d=\n94b-0e07-1b33-574d8f6a6536&filename=3DKoala.jpg\" alt=3D\"sample.jpg\" width=\n=3D\"130\" /></td>=0A<td style=3D\"font-family: Arial, Helvetica, sans-serif; =\nfont-size: 14px; line-height: 22.4px; color: #444444; padding: 3px 3px 3px =\n0px; margin: 0px;\">=0A<h2 style=3D\"font-family: Arial, Helvetica, sans-seri=\nf; font-size: 18px; line-height: 28.8px; color: #444444; padding: 0px; marg=\nin: 0px;\">Title</h2>=0ALorem ipsum dolor sit amet, consectetur adipiscing e=\nlit. Etiam tempus odio ante, in feugiat ex pretium eu. In pharetra tincidun=\nt urna et malesuada. Etiam aliquet auctor justo eu placerat. In nec sollici=\ntudin enim. Nulla facilisi. In viverra velit turpis, et lobortis nunc eleif=\nend id. Curabitur semper tincidunt vulputate. Nullam fermentum pellentesque=\n ullamcorper.</td>=0A</tr>=0A</tbody>=0A</table>=0A<p style=3D\"font-family:=\n Arial, Helvetica, sans-serif; font-size: 14px; line-height: 22.4px; color:=\n #444444; padding: 0px; margin: 0px;\">&nbsp;</p>=0A<div class=3D\"mozaik-cle=\nar\" style=3D\"font-family: Arial, Helvetica, sans-serif; font-size: 14px; li=\nne-height: 22.4px; color: #444444; padding: 0px; margin: 0px; height: 0px;\"=\n>&nbsp;</div>=0A</div>=0A</body>=0A</html>\n```\n\nAny help with this issue is appreciated. Thank you.\n"}}
{"actor":{"display_login":"Dillon-Brown"}}