Re: [WebDNA] Inline email images

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107324
interpreted = N
texte = Yes I know I can do that, I'm just preferring an inline one for this = particular job, it just will work better in this case. Assuming I can = get it working! Cheers =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 5 Sep 2011, at 15:44, Govinda wrote: > Steve have you tried just putting absolute paths to images on your = website, as though the email was a real webpage on your site? =20 > E.g. 3D"" =3D"0"> >=20 > -Govinda >=20 >> Hi >>=20 >> I have code that sends out plain text and html emails that works fine = but I want to try and include inline images into the html. I can get the = image to attach itself to the email but I can't seem to place it where I = want if that makes sense. It just shows as an attachment not as an = inline image.=20 >>=20 >> Does anyone have any code examples that work that they are willing to = share? >>=20 >> This is what I've been playing with... >>=20 >> [sendmail = to=3Dxxx&from=3Dxxx&subject=3Dxxx&MIME-Version=3D1.0&Content-Type=3Dmultip= art/mixed; boundary=3D"AsylumEmailer[cart]"] >>=20 >> --AsylumEmailer[cart] >> Content-Type: text/plain; charset=3D"iso-8859-1"; format=3D"flowed" >>=20 >> Order receipt is in HTML format >>=20 >> --AsylumEmailer[cart] >> Content-Type: text/html; charset=3D"iso-8859-1" >> >> >> Text above
>>
>> Text below >> >> >>=20 >> --AsylumEmailer[cart] >> Content-Type: image/jpeg; name=3D"EmailHeader.jpg" >> Content-Transfer-Encoding: base64 >> Content-Id: >>=20 >> [encrypt method=3Dbase64&file=3DEmailHeader.jpg&EMAILFORMAT=3DT][/encry= pt] >>=20 >> --AsylumEmailer[cart] >>=20 >> [/sendmail] >>=20 >>=20 >> This basically works in that I get an email containing plain and html = sections, I get the image attached but not as an inline part of the = HTML. The cid: in front of the image was using something I'd seen in an = email that had been sent to me, not sure if it's write or not. >>=20 >> Any help much appreciated. >>=20 >> Cheers >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Steve Craig - Asylum Interactive Ltd >> Tel +44 1330 860550 Fax +44 1330 860880 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> http://www.asylumweb.com >> Email: steve@asylumweb.com >> Skype: s.craig - iChat: steve.craig >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Inline email images (aaronmichaelmusic@gmail.com 2011)
  2. Re: [WebDNA] Inline email images (Stuart Tremain 2011)
  3. Re: [WebDNA] Inline email images (Steve Craig 2011)
  4. Re: [WebDNA] Inline email images (Govinda 2011)
  5. [WebDNA] Inline email images (Steve Craig 2011)
Yes I know I can do that, I'm just preferring an inline one for this = particular job, it just will work better in this case. Assuming I can = get it working! Cheers =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 5 Sep 2011, at 15:44, Govinda wrote: > Steve have you tried just putting absolute paths to images on your = website, as though the email was a real webpage on your site? =20 > E.g. 3D"" =3D"0"> >=20 > -Govinda >=20 >> Hi >>=20 >> I have code that sends out plain text and html emails that works fine = but I want to try and include inline images into the html. I can get the = image to attach itself to the email but I can't seem to place it where I = want if that makes sense. It just shows as an attachment not as an = inline image.=20 >>=20 >> Does anyone have any code examples that work that they are willing to = share? >>=20 >> This is what I've been playing with... >>=20 >> [sendmail = to=3Dxxx&from=3Dxxx&subject=3Dxxx&MIME-Version=3D1.0&Content-Type=3Dmultip= art/mixed; boundary=3D"AsylumEmailer[cart]"] >>=20 >> --AsylumEmailer[cart] >> Content-Type: text/plain; charset=3D"iso-8859-1"; format=3D"flowed" >>=20 >> Order receipt is in HTML format >>=20 >> --AsylumEmailer[cart] >> Content-Type: text/html; charset=3D"iso-8859-1" >> >> >> Text above
>>
>> Text below >> >> >>=20 >> --AsylumEmailer[cart] >> Content-Type: image/jpeg; name=3D"EmailHeader.jpg" >> Content-Transfer-Encoding: base64 >> Content-Id: >>=20 >> [encrypt method=3Dbase64&file=3DEmailHeader.jpg&EMAILFORMAT=3DT][/encry= pt] >>=20 >> --AsylumEmailer[cart] >>=20 >> [/sendmail] >>=20 >>=20 >> This basically works in that I get an email containing plain and html = sections, I get the image attached but not as an inline part of the = HTML. The cid: in front of the image was using something I'd seen in an = email that had been sent to me, not sure if it's write or not. >>=20 >> Any help much appreciated. >>=20 >> Cheers >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Steve Craig - Asylum Interactive Ltd >> Tel +44 1330 860550 Fax +44 1330 860880 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> http://www.asylumweb.com >> Email: steve@asylumweb.com >> Skype: s.craig - iChat: steve.craig >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Steve Craig

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Server Load (2000) Images do not upload completely ... (2003) [WebDNA] Some WebDNA news (2014) Merging databases (1997) Middle Context (2002) [WebDNA] Rewrite url before redirect (2012) WebCat2 - [format thousands] (1997) showif with math? (2000) Max Record length (1997) .tmp files (2000) [WebDNA] SOAP support (2014) [WebDNA] A new popuated field to a DB with 700.000 records (2009) cart file creation (2003) Error:Too many nested [xxx] contexts (1997) Quickie question on the email templates (1997) Nav. 4 probs with cart - Serious problem (1997) RE: Missing contexts on NT (1997) Running _every_ page through WebCat ? (1997) More on the email templates (1997) Authenticate (1997)