homepage Welcome to WebmasterWorld Guest from 54.166.95.146
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
Embedding Images in HTML style Email
Jimmy




msg:954984
 12:33 pm on Oct 4, 2002 (gmt 0)

hi guys,

looking for a bit of help here. trying to add an image into an email im sending out in HTML format.

problem i have i cant put the image on the server so adding an image and pointing it to say http:\\domainname.com will not work.

any other suggestions?

 

korkus2000




msg:954985
 12:52 pm on Oct 4, 2002 (gmt 0)

I believe outlook express has a quite nice function of embedding or attaching the pictures to a HTML format email.

Jimmy




msg:954986
 1:06 pm on Oct 4, 2002 (gmt 0)

sorry needed to be a bit more specific.

im doing this via ASP script which will send out the email. I can do the email in html format but needed to embed an image into this via the script.

korkus2000




msg:954987
 1:42 pm on Oct 4, 2002 (gmt 0)

BTW Welcome to WebmasterWorld Jimmy [webmasterworld.com]

I really don't know what options you may have as far as components go. Have you looked into what email components your host has?

mat




msg:954988
 1:48 pm on Oct 4, 2002 (gmt 0)

Don't do it - keep email clean campaign starts here. Put your pictures on a web page and link to it from the mail if you really need images. I rue the day that OE placed html format as default. But then again, maybe I'm a Luddite.

I'm trying, as we speak, to find a way to block ALL html email with images at server level - 99.99% has to be junk. Mat

Jimmy




msg:954989
 3:29 pm on Oct 4, 2002 (gmt 0)

thanks 4 the nice welcome :)

cheers guys -

korkus2000, no i havent looked into the components issue - i was just looking for a quick clean way to send them out, so i think having the images available via a url is probably the way to go judging by feedback.

a few political issues so i wanted to stay away from that - nevermind, im sure ill swing it :)

Xoc




msg:954990
 5:23 pm on Oct 4, 2002 (gmt 0)

There is a feature in Outlook 2002 that will disable html email. See this [support.microsoft.com] article on the Microsoft web site. It turns all html email into plain text and converts all embedded pictures into attachments. Sure wish it worked on earlier versions of Outlook.

threecrans




msg:954991
 10:05 pm on Oct 4, 2002 (gmt 0)

There are options here, however they require the image be SOMEWHERE accessible to the server. You say in a previous post that you can't put the image on a server. Where is the image coming from? Is it created/accessed dynamically (i.e. in memory only)?

Slade




msg:954992
 10:13 pm on Oct 4, 2002 (gmt 0)

Go to <any email program that supports images in message> and send yourself an email.

Get the full text & headers of that email and read through them. Telnetting to your mailserver would probably be the easiest way.

You should be able to extract the code that you need from there. (It's called reverse engineering :) )

edit_g




msg:954993
 11:08 am on Oct 7, 2002 (gmt 0)

"Don't do it - keep email clean campaign starts here. Put your pictures on a web page and link to it from the mail if you really need images. I rue the day that OE placed html format as default. But then again, maybe I'm a Luddite.
I'm trying, as we speak, to find a way to block ALL html email with images at server level - 99.99% has to be junk. Mat"

If you're running a respectable email campaign or sending out newsletters one of the best ways to fill up users' email inboxes and get them angry is to embedd the images. Placing them on the server can cut down a 40kb email to 12kb. Much better.

Its not all spam. Most large companies which have any idea what they are doing do this. You're better off trying to filter your spam by keywords anyhow.

mat




msg:954994
 12:34 pm on Oct 7, 2002 (gmt 0)

You're better off trying to filter your spam by keywords anyhow.

Oh I do, believe me. My .procmailrc file is getting pretty long and pretty seedy. The problem is that these scum are getting cannier - there are no words that can safely be blocked in the subject - they're all pretty innocuous and generic - and some stuff (all HTML format) still gets through. The performance hit for scanning the entire body of all messages is too high.

I manage to block hundreds per day, but I'm getting pretty evangelical about this, and that's why I'm looking to block all non plain text stuff, or at least divert it for server-side checking. Can't quite get the recipe to work, but I will, I will.

Mat

Jimmy




msg:954995
 3:46 pm on Oct 7, 2002 (gmt 0)

If you're running a respectable email campaign or sending out newsletters one of the best ways to fill up users' email inboxes and get them angry is to embedd the images. Placing them on the server can cut down a 40kb email to 12kb. Much better.


all done and dusted now - went with putting the image on the server. Originally a pain to do but like i say, all sorted.

Thanks for all your input guys, this newbie appreciates it :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved