multiple email address

Discussion in 'ASP General' started by dave, Jan 28, 2004.

  1. dave

    dave Guest

    Hi
    I'm sending mail using below code. It works fine.
    How can I send email to more than one address.
    I wanna add one more address in .to feld or in .cc

    Set cdoMessage = Server.CreateObject("CDO.Message")
    With cdoMessage
    Set .Configuration = cdoConfig
    .From = ""
    .To = ""
    .Subject = "abc"
    .HtmLBody = body
    .Send
    End With
    Thanx in advance
    dave
     
    dave, Jan 28, 2004
    #1
    1. Advertising

  2. dave

    Ray at Guest

    You can separate the e-mail addresses with a semicolon.

    ..To = "; ; "

    Ray at home

    "dave" <> wrote in message
    news:663a01c3e5f3$db1cd7a0$...
    > Hi
    > I'm sending mail using below code. It works fine.
    > How can I send email to more than one address.
    > I wanna add one more address in .to feld or in .cc
    >
    > Set cdoMessage = Server.CreateObject("CDO.Message")
    > With cdoMessage
    > Set .Configuration = cdoConfig
    > .From = ""
    > .To = ""
    > .Subject = "abc"
    > .HtmLBody = body
    > .Send
    > End With
    > Thanx in advance
    > dave
    >
     
    Ray at, Jan 28, 2004
    #2
    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. avnrao
    Replies:
    1
    Views:
    7,271
    avnrao
    May 4, 2004
  2. Patrice
    Replies:
    0
    Views:
    905
    Patrice
    May 4, 2004
  3. Raterus
    Replies:
    0
    Views:
    451
    Raterus
    Jun 2, 2004
  4. Zeynel
    Replies:
    1
    Views:
    574
    alex23
    Dec 6, 2010
  5. Replies:
    5
    Views:
    267
    Dr John Stockton
    Dec 23, 2005
Loading...

Share This Page