Hi;
I am using ASP.NET 1.0 and Mail.Mailmessage class to send emial and I have
used it for sending text email, now I have to send an email with Embadded
image into that email, how to do that using the same class and ASP.NET 1.0
using VB.NET.
I am using following code:
Dim Msg As New Mail.MailMessage
Msg.Subject = "Westown Pre-registration Update"
Msg.BodyFormat = Mail.MailFormat.Html
Msg.To = "es********@gmail.com"
Msg.Body = "I need to send an image embadded here"
Msg.From = "es**@yahoo.com"
Mail.SmtpMail.SmtpServer =
ConfigurationSettings.AppSettings("SMTPServer")
Mail.SmtpMail.Send(Msg)
Please, provide me the sample code for that.
--
Essa, M. Mughal
Software Developer
Toronto, Canada 3 1439 http://www.systemwebmail.com/faq/3.3.aspx
Essa wrote: Hi;
I am using ASP.NET 1.0 and Mail.Mailmessage class to send emial and I have used it for sending text email, now I have to send an email with Embadded image into that email, how to do that using the same class and ASP.NET 1.0 using VB.NET.
I am using following code:
Dim Msg As New Mail.MailMessage
Msg.Subject = "Westown Pre-registration Update"
Msg.BodyFormat = Mail.MailFormat.Html Msg.To = "es********@gmail.com" Msg.Body = "I need to send an image embadded here" Msg.From = "es**@yahoo.com"
Mail.SmtpMail.SmtpServer = ConfigurationSettings.AppSettings("SMTPServer") Mail.SmtpMail.Send(Msg)
Please, provide me the sample code for that.
Hi;
But, I don't want to use 3rd Party tool for that functionality, can't we do
in ASP.NET 1.1 using the mail API?
I don't want to install 3rd party tool at client web server.
Thanks
--
Essa, M. Mughal
Software Developer
Toronto, Canada
"Ray Booysen" wrote: http://www.systemwebmail.com/faq/3.3.aspx
Essa wrote: Hi;
I am using ASP.NET 1.0 and Mail.Mailmessage class to send emial and I have used it for sending text email, now I have to send an email with Embadded image into that email, how to do that using the same class and ASP.NET 1.0 using VB.NET.
I am using following code:
Dim Msg As New Mail.MailMessage
Msg.Subject = "Westown Pre-registration Update"
Msg.BodyFormat = Mail.MailFormat.Html Msg.To = "es********@gmail.com" Msg.Body = "I need to send an image embadded here" Msg.From = "es**@yahoo.com"
Mail.SmtpMail.SmtpServer = ConfigurationSettings.AppSettings("SMTPServer") Mail.SmtpMail.Send(Msg)
Please, provide me the sample code for that.
As the link says, you can't.
Essa wrote: Hi;
But, I don't want to use 3rd Party tool for that functionality, can't we do in ASP.NET 1.1 using the mail API?
I don't want to install 3rd party tool at client web server.
Thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mike |
last post by:
I have created a side application in VB.NET which reads
rows from a DB and builds an email message.
when i have a long string the the mailmessage.body or the
mailmessage, it puts in an...
|
by: Balakrsihna |
last post by:
Hi All,
Can anyone tell me how to replace an image in MS Word 2003 using c#.net.
I am converting an html file to word doc and sending this as attachment
using System.Web.Mail; the...
|
by: Fabio Negri Cicotti [MCP] |
last post by:
Hi all.
How do I do to display a picture on e-mail's body when visualized using
Outlook Express?
I've set the properties bellow but till now I've got the image shown as that
box with a red...
|
by: Srinivas |
last post by:
Hi,
I am using ASP.NET SmtpMail to send email using the following code
public void SendEmail(string From, string To, string Subject, StringBuilder
Message, string Attachment, string...
|
by: Eduardo Rosa |
last post by:
Somebody knows how I queue email using .Net?
thanks a lot
|
by: Frank |
last post by:
I am attempting to develop a solution where I handle bounced e-mails.
I wish to field all bounced emails in a custom email account such a
bounced@mycompany.com
From the aricle at...
|
by: Frinavale |
last post by:
Introduction
Many .NET applications will require an email be sent out for various reasons. This article will give a quick examples on how to send an email using VB.NET. The examples given can...
|
by: =?Utf-8?B?Um9iZXJ0IEUuIEZsYWhlcnR5?= |
last post by:
Using .NET 2.0 in Visual Studio 2005, I am attempting to send an email. I am
utilizing Yahoo as the SMTP provider. I am able to send emails using the
setup instructions below using Outlook. When...
|
by: Eugene Vital |
last post by:
Hi all
I am having trouble with sending email via a C#2.0 application, I use
the same settings as I use in Outlook but I cannot get email to send.
I am trying to use SSL on port 465 and get the...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |