473,387 Members | 1,483 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,387 software developers and data experts.

SendMail attachment appears as icon

Hello
I'm using the following code to send mail from VB.NET 2003

oMail.SmtpServer = txtSMTPServer.Text
Mailmsg.To = "jo*@xxx.com"
Mailmsg.From = "\Joe Blow\"
Mailmsg.BodyFormat = MailFormat.Html
Mailmsg.Subject = "TEST"
Attachment = New MailAttachment(sDirectory & "\manifest.txt")
Mailmsg.Attachments.Add(Attachment)
oMail.Send(Mailmsg)

The attachment shows up as an icon in the message body when viewed in
Outlook 2002. How do I make the attachment appear in the "header" and not as
an icon in the body?

Help very much appreciated !
Nov 21 '05 #1
0 876

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

Similar topics

1
by: Bernie Yaeger | last post by:
I have a simple mailsys solution that works splendidly. I decided to add a listview with file association icons to replace a listbox that displays the full path only of an attachment. But when I...
2
by: Cutlass | last post by:
Hello I'm using the following code to send mail from VB.NET 2003 oMail.SmtpServer = "xxx.xxx.com" Mailmsg.To = "joe@xxx.com" Mailmsg.From = "\Joe Blow\" Mailmsg.BodyFormat = MailFormat.Html...
2
by: Cutlass | last post by:
Hello I'm using the following code to send mail from VB.NET 2003 Imports System.Web.Mail .. .. Dim oMail as System.Web.Mail.SmtpMail Dim Attachment as System.Web.Mail.MailAttachment Dim...
1
by: Robert Oschler | last post by:
I have a 16 color 16 x 16 pixel icon (favicon.ico); 4-bit palette. I have put the icon in the root directory of my web site, and I have also added the <link rel="SHORTCUT ICON" ... /> HTML tag in...
7
by: Shelly | last post by:
I submitted this to comp.mail.sendmail, but maybe someone here can help me as well. OK, this has most likely been asked and answered several times, but I am still confused after searching. Here...
1
by: Gaz | last post by:
Hey. I looked at the Sendmail help and did not find a property where i can get an "ok" signal when the email is finally sent. I need something like that to show a "Processing, please stand by"...
1
by: James Robertson | last post by:
Issue is that I really do not know diddly. Copying and trying to learn as much as I can about VB and ASP2.0. Now the question I have is I created an E-Mail form the sendmail properties in the VB...
2
sangeeth
by: sangeeth | last post by:
def sendMail(to, subject,text,files=,server="127.0.0.1"): assert type(to)==list assert type(files)==list fro = "xx@x.com" debug_print("CWD -> " + os.getcwd()) ...
3
by: zaxxon25 | last post by:
I am having an issue with attaching 2 attachments one xip and other excel file with email and sending using perl sendmail. I tried to look on various forums and everywhere i get advice using MIME ::...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.