Send email with logo at top

Discussion in 'ASP .Net' started by =?Utf-8?B?U2FuZHk=?=, Jul 6, 2005.

  1. 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
     
    =?Utf-8?B?U2FuZHk=?=, Jul 6, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?U2FuZHk=?=

    Tod Birdsall Guest

    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
     
    Tod Birdsall, Jul 6, 2005
    #2
    1. Advertising

  3. 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
    >
    >
     
    =?Utf-8?B?U2FuZHk=?=, Jul 7, 2005
    #3
  4. 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
    > >
    > >
     
    =?Utf-8?B?TWlrYWVsw4U=?=, Jul 7, 2005
    #4
  5. 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
    > > >
    > > >
     
    =?Utf-8?B?U2FuZHk=?=, Jul 7, 2005
    #5
  6. =?Utf-8?B?U2FuZHk=?=

    Ben Amada Guest

    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
     
    Ben Amada, Jul 7, 2005
    #6
  7. 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
    >
    >
    >
     
    =?Utf-8?B?U2FuZHk=?=, Jul 7, 2005
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter
    Replies:
    0
    Views:
    3,432
    Peter
    Jul 1, 2003
  2. David Erickson
    Replies:
    6
    Views:
    467
    Dennis Lee Bieber
    Jan 27, 2008
  3. Replies:
    2
    Views:
    446
    Tintin
    Jan 5, 2007
  4. Replies:
    13
    Views:
    552
    Randy Webb
    May 14, 2006
  5. pbd22
    Replies:
    1
    Views:
    190
Loading...

Share This Page