473,395 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

why does vb html email arrive as attachment?

I can send an email from any client (outlook, lotus notes), and fill
it with all sorts of fonts (bold, courier, etc). When the mail is
received, the client reads it inline, not as an attachment.

When I send an html email thru my Visual Basic program (using
standard SMTP protocol), it is received as an attachment. How can I
get it so that it is read inline?

Thanks,
Bruce Brodinsky
Jul 17 '05 #1
2 3761
can u give us a piece of the important parts of the code?
"bruce" <br*************@glic.com> wrote in message
news:d3**************************@posting.google.c om...
I can send an email from any client (outlook, lotus notes), and fill
it with all sorts of fonts (bold, courier, etc). When the mail is
received, the client reads it inline, not as an attachment.

When I send an html email thru my Visual Basic program (using
standard SMTP protocol), it is received as an attachment. How can I
get it so that it is read inline?

Thanks,
Bruce Brodinsky

Jul 17 '05 #2
"Sean Dean" <se******@seandean.net> wrote in message news:<uA*******************@twister.tampabay.rr.co m>...
Header declarations.....

Example content-type declarations include...
1***

MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Nonspam: None
2***

MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_84KDJFNTUEF209EF376268C8"
X-Nonspam: None

3***

X-Mailer: MOMENTUM (3.0 build(18) [Asynch])
Comments: To remove from all affiliates goto
www.bluestreammedia.com/unsub.aspx
Message-ID: <200222:06:45_43109108@[somedomain].trackingclicks.com>
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Nonspam: None


Sean:
I tried the "Content-Type: text/html" header, as in your example
#3. This is what yielded me the proper html, but in an attachment.
Perhaps I also need those other tags you mention. Thanks for your
input.
Bruce
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: TLMM | last post by:
I have an HTML page which is a newsletter. I want to be able to add it to an email message so I can email it to people. I want it to be in the body of the email, not sent as an attachment. There...
2
by: Gordon H. | last post by:
I'm trying to email a HTML link to a HTML file attached in the same message. I DO NOT want to have the attached HTML file displayed in the message, I just want a link in the email to the HTML file...
6
by: NetNoise | last post by:
Hi. I'm using CDO SYS to send email messages. I can attach a file just fine. However, I need to attach an HTML page that's generated on the fly by my ASP code. The attachment source code gets...
9
by: Josh Mayfield | last post by:
Note: There is considerable background detail here, but I do have three questions, which are clearly marked and appear right before the sample code. I have a legitimate need to launch an EXE...
5
by: Steven Nagy | last post by:
Hi, I am sending an email in my .NET2.0 web app using: System.Net.Mail.Attachment System.Net.Mail.MailMessage I can successfully send an HTML email with a background image, however that...
7
by: Manfred Kooistra | last post by:
I have these pieces of example code that I am trying to figure out: (a) $a = $b->c(); (b) $d->e(); What does "->" do? Where is there a reference/explanation in the PHP manual (or anywhere...
33
by: STILL LEARNING | last post by:
I'm not sure if this can even be done, but what prompts the question is my desire to be able to create an "Uber Link" script/code of some sort, such that even if the html page contains nothing but...
3
by: jambonjamasb | last post by:
Hi I have two tables: email_tbl Data_table Data table is is used to create a Form Data_form
4
by: kpfunf | last post by:
When I email a report via macro or vba code, the attached report is named "Fuel Quote Report.(ext)". I have no idea how this name is used. I have three seperate macros sending three seperate reports....
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.