Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Send email with logo at top

Reply
Thread Tools

Send email with logo at top

 
 
=?Utf-8?B?U2FuZHk=?=
Guest
Posts: n/a
 
      07-06-2005
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
 
Reply With Quote
 
 
 
 
Tod Birdsall
Guest
Posts: n/a
 
      07-06-2005
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

 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2FuZHk=?=
Guest
Posts: n/a
 
      07-07-2005
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
>
>

 
Reply With Quote
 
=?Utf-8?B?TWlrYWVsw4U=?=
Guest
Posts: n/a
 
      07-07-2005
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
> >
> >

 
Reply With Quote
 
=?Utf-8?B?U2FuZHk=?=
Guest
Posts: n/a
 
      07-07-2005
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
> > >
> > >

 
Reply With Quote
 
Ben Amada
Guest
Posts: n/a
 
      07-07-2005
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


 
Reply With Quote
 
=?Utf-8?B?U2FuZHk=?=
Guest
Posts: n/a
 
      07-07-2005
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
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Help (setup email auto signature w/MCDST logo) David Webber MCDST 4 02-22-2012 04:59 AM
Email module, how to add header to the top of an email? David Erickson Python 6 01-27-2008 09:16 AM
Cannot compose ,reply or send email on Sasktel email system pcbutts1 Computer Support 5 07-29-2005 06:13 AM
why cant i send email messages from this email Billie Jo Ames Computer Support 8 06-30-2005 12:24 PM
HowTo:? open email client to send email Peter ASP .Net 0 07-01-2003 04:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57