![]() |
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 |
Re: Send email with logo at top
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 |
Re: Send email with logo at top
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 > > |
Re: Send email with logo at top
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 > > > > |
Re: Send email with logo at top
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 > > > > > > |
Re: Send email with logo at top
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 |
Re: Send email with logo at top
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 > > > |
| All times are GMT. The time now is 04:21 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.