HTML in mailbodym

Discussion in 'Questions (Windows Mobile)' started by timsteeman, Jun 2, 2008.

  1. timsteeman

    timsteeman Member Licensed User

    I want to use html format in my emailbody (on the desktop)
    Just wondering....Is it possible?
    Thanks for the replies.
    Tim
     
  2. agraham

    agraham Expert Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

    Yes, using the door library:
    Code:
    'obj is an Object (from the Door library).
    Sub App_Start
        
    SMTP.New1(...)
        msg.New1
        obj.New1(
    false'initalize once.
        
        
        msg.AddTo(
    "some@email.com")
        msg.Subject = 
    "test"
        q = 
    Chr(34)
        msg.Body = 
    "this is a <a href="&q&"http://www.basic4ppc.com"&q&">test</a>."
        msg.From = 
    "me@me.com"
        obj.Value = msg.Value
        [B]obj.SetProperty(
    "IsBodyHtml",true)[/B]
        
    SMTP.Send(msg.Value)
    End Sub
     
  4. agraham

    agraham Expert Licensed User

    We obviously interpret the OPs' intention totally differently. Perhaps he can elaborate on what he wants to do :confused:
     
  5. timsteeman

    timsteeman Member Licensed User

    What i really want to do....

    I want to create a mailprog, where you can create and send mails to a group. And i want to create that mail in htmlformat, so with fonts, background colors, pictures and so on...
    Thanks for all your good tips.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice