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. Advertisements

  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. Advertisements

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:
    8,003
    avnrao
    May 4, 2004
  2. Alex Stevens
    Replies:
    0
    Views:
    916
    Alex Stevens
    Aug 10, 2004
  3. =?Utf-8?B?QW5nZWw=?=

    Pass a Web Address and return a File System Address

    =?Utf-8?B?QW5nZWw=?=, Sep 20, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    706
    =?Utf-8?B?U3RldmUgQy4gT3Jy?=
    Sep 21, 2005
  4. SJ

    MAC Address/Physical Address?

    SJ, Jan 7, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    755
  5. Replies:
    2
    Views:
    791
    Christopher Reed
    Apr 15, 2006
  6. AbraKadabra
    Replies:
    2
    Views:
    736
    Gordon Beaton
    Sep 21, 2005
  7. Zeynel
    Replies:
    1
    Views:
    702
    alex23
    Dec 6, 2010
  8. Replies:
    5
    Views:
    483
    Dr John Stockton
    Dec 23, 2005
Loading...