22404 Posts in 6883 Topics by 2748 members
|Go to End|
9 April 2013 at 7:40am
I have a form which sends an e-mail with an image attachment. I was wondering how would I also display the image in the body of the e-mail? I was reading how the src must reference 'cid' or something like that, so I tried:
<img src="cid: name-of-attachment.jpg" alt="pic">
But did't work, maybe there is a better way with SilverStripe? The image must be sent as an attachment, it will not live on the server, so I need to reference the src from the email somehow.
11 April 2013 at 7:01am Last edited: 11 April 2013 7:04am
Just kind of wondering about this.....that's all.....
So, this is good
but (this doesn't work):
<img src="myImage.jpg" alt="my image">
in the email template. How to reference the attached image? Anyone?
|Go to Top|