Hi,
I know how to use SmtpMail to create and send a mail
message in text or HTML format. I always use the URL to
the location of images on the server to include those
images in my mail body.
However, recently I was asked if it is possible to use
inline images, included (as attachments?) in the mail
message instead of using the URL to the images. I believe
it's not simply a matter of creating a MailAttachment
object and add it to the MailMessage object, because I
want the images to be shown inline in the body.
If somebody knows how to do this ... 3 1297
Cant you use the IMG SRC in the HTML body with file:\\ blah or some other
reference to the atttachment.
"Sergio" <an*******@disc ussions.microso ft.com> wrote in message
news:02******** *************** *****@phx.gbl.. . Hi,
I know how to use SmtpMail to create and send a mail message in text or HTML format. I always use the URL to the location of images on the server to include those images in my mail body.
However, recently I was asked if it is possible to use inline images, included (as attachments?) in the mail message instead of using the URL to the images. I believe it's not simply a matter of creating a MailAttachment object and add it to the MailMessage object, because I want the images to be shown inline in the body.
If somebody knows how to do this ...
You may be talking about MHTML, which is a type of html broken into mime
parts that can contain other files that can be referenced in the <img> tag.
I've used it before and it works for compositied files of any kind
really(you'll see office and other apps pump them out as well) http://www.dsv.su.se/~jpalme/ietf/mhtml.html should tell you what you need
to know, but if not, just search google for MHTML.
"Sergio" <an*******@disc ussions.microso ft.com> wrote in message
news:02******** *************** *****@phx.gbl.. . Hi,
I know how to use SmtpMail to create and send a mail message in text or HTML format. I always use the URL to the location of images on the server to include those images in my mail body.
However, recently I was asked if it is possible to use inline images, included (as attachments?) in the mail message instead of using the URL to the images. I believe it's not simply a matter of creating a MailAttachment object and add it to the MailMessage object, because I want the images to be shown inline in the body.
If somebody knows how to do this ...
Tried it, and it works! Thanks a lot. -----Original Message----- You may be talking about MHTML, which is a type of html
broken into mimeparts that can contain other files that can be
referenced in the <img> tag.I've used it before and it works for compositied files
of any kindreally(you'l l see office and other apps pump them out as
well) http://www.dsv.su.se/~jpalme/ietf/mhtml.html should tell
you what you needto know, but if not, just search google for MHTML. "Sergio" <an*******@disc ussions.microso ft.com> wrote in
messagenews:02******* *************** ******@phx.gbl. .. Hi,
I know how to use SmtpMail to create and send a mail message in text or HTML format. I always use the URL to the location of images on the server to include those images in my mail body.
However, recently I was asked if it is possible to use inline images, included (as attachments?) in the mail message instead of using the URL to the images. I
believe it's not simply a matter of creating a MailAttachment object and add it to the MailMessage object, because I want the images to be shown inline in the body.
If somebody knows how to do this ...
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DJ WIce |
last post by:
Hi all,
I did make a script/css thing to replace the contextmenu on the website with
a new one: http://www.djwice.com/contextmenu.html
It works nice in MSIE, but on Netscape (and probable other browsers) it
stays on the same place (does not "open'' where the mouse is). And the links
do not work when you click on them.
If anyone has sugestions on how to improve it, please let me know.
|
by: Aaron |
last post by:
Hi,
I'm trying to use style sheets instead of tables for layout, but I'm not
sure on how to do something...
I have a div (100% width) containing 3 other divs. Each needs to be lined
up next to one another inside the first div. Whenever I nest these divs
inside the first, it always treats each of them like a block element and
puts them on the next line down. If I try to define 'block: inline' for
each of them, the ones without images...
|
by: otto |
last post by:
Any suggestions? I want a sequence of composite "blocks" (e.g. image
and caption representing a product category) to wrap like text as a
browser is made wider/narrower. Tables are not working well for this
application. Any fixed choice of column numbers is always the wrong
choice!
I looked up about CSS block flow , found "display:inline-block;" and
thought problem solved - till I tested in IE & FF. Nightmare!!! After
*much* fiddling I...
|
by: Jason |
last post by:
Hi
just a really quick simple question. Can you configure SmtpMail class in C#
to use a different port? or does it have to be port 25?
Thanks
Jason
|
by: Ohad |
last post by:
Hello,
I'm trying to send an email message using c#'s SmtpMail class.
Everything, including attachments, is working properly.
My problem is this: I need to assign a content id to one of the parts of the
multipart email, for example, in order to show an embedded image:
<img src=cid:xxxx>.
How can I assign a content ID in c#?
| |
by: Sergio |
last post by:
Hi,
I know how to use SmtpMail to create and send a mail
message in text or HTML format. I always use the URL to
the location of images on the server to include those
images in my mail body.
However, recently I was asked if it is possible to use
inline images, included (as attachments?) in the mail
|
by: Neo Geshel |
last post by:
I am seeking to hand-roll my own blog in ASP.NET 2.0 and SQLExpress
2005. Why? Because I can. Because I will gain experience.
The one thing that has me stumped at square one is inline images. That
is, images inline with the actual content of the blog itself. Is there
an example that I can be pointed to, where I can examine some code and
figure out how to do this? Frankly I haven't got a clue, aside from
breaking the content up into...
|
by: Geoff Cox |
last post by:
Hello,
I am using the following css
..hiddenDiv2 {
display: none;
}
..visibleDiv2{
display: inline;
|
by: AleXmanFree |
last post by:
Hi , I have got problem with passing my inline based value to y user
control (or custom control, no matter which one I use, I have tried
both to make sure it doesnt matter) .
So say I have property called ImagePath and i want to pass my value
through asp.net specific inline cunstruction:
<uc:MyControl runat=server id="someId" ImagePath="<%=
Request.ApplicationPath %>/App_Themes/<%= Page.Theme %>/Images/
ball_.png" />,
problem that in...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |