473,467 Members | 1,455 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Send email with logo at top

Hello -

I want to be able to send an email from my app that contains the logo from
my website at the top of it. I have searched the web and there are many
components out there, but isn't there an easier way? My logo is quite simple.

Any help will be greatly appreciated!
--
Sandy
Nov 19 '05 #1
6 1607
Hi Sandy,

Here is the first item that comes up on Google if you do a search for
"asp.net html e-mail":
http://www.aspheute.com/english/20000918.asp

It has an example of how to code an html e-mail sent using asp.net. If
this is not what you are looking for, you will need to be more
specific.

If you are not a software developer and you need some custom work done,
feel free to contact me directly.

Hope this helps.

Tod Birdsall, MCSD for .Net
http://tod1d.blogspot.com

Help me get free Sony PSP and get one for yourself:
http://tinyurl.com/8n4hg

Nov 19 '05 #2
Tod -

Thanks for your response! I guess I wasn't very clear. I have a "forgotten
password" page on my website that sends an email advising the person of their
password. It is just plain.

I wanted to add my logo at the top of the email - I don't want to attach a
file; I want to embed the logo at the top of the email.

Again, any suggestions will be greatly appreciated!

--
Sandy
"Tod Birdsall" wrote:
Hi Sandy,

Here is the first item that comes up on Google if you do a search for
"asp.net html e-mail":
http://www.aspheute.com/english/20000918.asp

It has an example of how to code an html e-mail sent using asp.net. If
this is not what you are looking for, you will need to be more
specific.

If you are not a software developer and you need some custom work done,
feel free to contact me directly.

Hope this helps.

Tod Birdsall, MCSD for .Net
http://tod1d.blogspot.com

Help me get free Sony PSP and get one for yourself:
http://tinyurl.com/8n4hg

Nov 19 '05 #3
Hi,

If you have the top image on your server, it's works great.

You can do something like this.

msgMail.BodyFormat = MailFormat.Html;
string MyBody = "<img src=\"http://www.sidan.com/logo.gif\" alt=\"Logotype\"
/>"
msgMail.Body = MyBody;

/m

--
yours sincerely
Mikael Åhlén [.net Developer]
"Sandy" wrote:
Tod -

Thanks for your response! I guess I wasn't very clear. I have a "forgotten
password" page on my website that sends an email advising the person of their
password. It is just plain.

I wanted to add my logo at the top of the email - I don't want to attach a
file; I want to embed the logo at the top of the email.

Again, any suggestions will be greatly appreciated!

--
Sandy
"Tod Birdsall" wrote:
Hi Sandy,

Here is the first item that comes up on Google if you do a search for
"asp.net html e-mail":
http://www.aspheute.com/english/20000918.asp

It has an example of how to code an html e-mail sent using asp.net. If
this is not what you are looking for, you will need to be more
specific.

If you are not a software developer and you need some custom work done,
feel free to contact me directly.

Hope this helps.

Tod Birdsall, MCSD for .Net
http://tod1d.blogspot.com

Help me get free Sony PSP and get one for yourself:
http://tinyurl.com/8n4hg

Nov 19 '05 #4
Mikael -

Thanks for your response! I tried your solution and it worked, except that
all I could get through my email was the alt part. I have quite a bit of
security in force on my system including a spam blocker. I suspect the
problem is my settings... which leads me to ask -- probably a lot of people
have similar settings. How can I get it to display despite their settings?

I get many emails where an entire website is mailed to me. Any idea how
this is done?

Thanks again for your response.

--
Sandy
"MikaelÃ…" wrote:
Hi,

If you have the top image on your server, it's works great.

You can do something like this.

msgMail.BodyFormat = MailFormat.Html;
string MyBody = "<img src=\"http://www.sidan.com/logo.gif\" alt=\"Logotype\"
/>"
msgMail.Body = MyBody;

/m

--
yours sincerely
Mikael Åhlén [.net Developer]
"Sandy" wrote:
Tod -

Thanks for your response! I guess I wasn't very clear. I have a "forgotten
password" page on my website that sends an email advising the person of their
password. It is just plain.

I wanted to add my logo at the top of the email - I don't want to attach a
file; I want to embed the logo at the top of the email.

Again, any suggestions will be greatly appreciated!

--
Sandy
"Tod Birdsall" wrote:
Hi Sandy,

Here is the first item that comes up on Google if you do a search for
"asp.net html e-mail":
http://www.aspheute.com/english/20000918.asp

It has an example of how to code an html e-mail sent using asp.net. If
this is not what you are looking for, you will need to be more
specific.

If you are not a software developer and you need some custom work done,
feel free to contact me directly.

Hope this helps.

Tod Birdsall, MCSD for .Net
http://tod1d.blogspot.com

Help me get free Sony PSP and get one for yourself:
http://tinyurl.com/8n4hg

Nov 19 '05 #5
Hi,

According to the System.Web.Mail website, System.Web.Mail doesn't support
embedding images into e-mails, but aspNetEmail does support this.

See:
http://www.systemwebmail.com/faq/3.3.aspx

I haven't used aspNetEmail, but on their homepage, it says you can "Create
Embedded Images from Byte Arrays". So I suppose that means if you have a
GIF or JPG of your company logo, you could load that image into a byte array
and embed it in an e-mail. It looks like there a whole host of things you
can do with aspNetEmail.

http://www.aspnetemail.com/

Ben
Nov 19 '05 #6
Ben -

Thanks for your response. I'll give it a try!
--
Sandy
"Ben Amada" wrote:
Hi,

According to the System.Web.Mail website, System.Web.Mail doesn't support
embedding images into e-mails, but aspNetEmail does support this.

See:
http://www.systemwebmail.com/faq/3.3.aspx

I haven't used aspNetEmail, but on their homepage, it says you can "Create
Embedded Images from Byte Arrays". So I suppose that means if you have a
GIF or JPG of your company logo, you could load that image into a byte array
and embed it in an e-mail. It looks like there a whole host of things you
can do with aspNetEmail.

http://www.aspnetemail.com/

Ben

Nov 19 '05 #7

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

Similar topics

3
by: marsandys | last post by:
Hello, I have this code below, which I am trying to have it send HTML formatted mail with embedded images. I can get this to send the mail, but it spits out a bunch of junk . I know this should...
3
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I sent an email with an embedded image, but when I view the email, the message is grayed. I'm unsure if it is my email provider that is blocking it. Here is the mark up message.IsBodyHtml =...
3
by: raamay | last post by:
I am trying to embed company logo (image) in an html email which i am sending using PHP mail function. I tried the following way but didnt work. So, I am not sure how to go about. Please see my code...
5
by: simon2x1 | last post by:
i have a website let assume it is www.mydomain.com i create an email in my control panel service@mydomain.com,am i to put the stmp configuration in my code below if so, why and where will i include...
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,...
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
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
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.