CDO yahoogroups mail problem

Discussion in 'ASP General' started by Savas Ates, Feb 21, 2005.

  1. Savas Ates

    Savas Ates Guest

    im sending email with these codes

    i call my sub with two forms


    call mailgonder ("","","ok","ok")

    call mailgonder
    ("","","ok","ok")

    first one works properlt but second is not.. (second is on queue ?) Why ?
    how can i send mail to a yahoogroups.. (to show mail moderators approve..)

    sub mailgonder(kime,kimden,msj,baslik)

    sch = "https://schemas.microsoft.com/cdo/configuration/"

    Set cdoConfig = CreateObject("CDO.Configuration")

    With cdoConfig.Fields
    .Item(sch & "sendusing") = 2 ' cdoSendUsingPort
    .Item(sch & "smtpserver") = "mail.starbilisim.com"
    .update
    End With

    Set cdoMessage = CreateObject("CDO.Message")

    With cdoMessage
    Set .Configuration = cdoConfig
    .From = kimden
    .To = kime
    .Subject = baslik
    .HTMLBody = msj
    on error resume next
    .Send
    End With

    Set cdoMessage = Nothing
    Set cdoConfig = Nothing

    end sub
    Savas Ates, Feb 21, 2005
    #1
    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. Guest
    Replies:
    2
    Views:
    876
    dave wanta
    Jul 11, 2003
  2. lothar
    Replies:
    1
    Views:
    364
    Peter Hansen
    Sep 12, 2004
  3. Gurhan Cicek
    Replies:
    1
    Views:
    531
    Mark McIntyre
    Nov 4, 2004
  4. newbie
    Replies:
    2
    Views:
    237
    newbie
    Mar 3, 2004
  5. Replies:
    0
    Views:
    278
Loading...

Share This Page