CDO yahoogroups mail problem

S

Savas Ates

im sending email with these codes

i call my sub with two forms


call mailgonder ("(e-mail address removed)","(e-mail address removed)","ok","ok")

call mailgonder
("(e-mail address removed)","(e-mail address removed)","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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

asp send mail cdo error 1
CDO Message help 1
Send form data using CDO 3
CDO Error 3
CDO Email Help 2
CDOSYS send email with ASP 9
sending email using CDO Message 1
CDO authentication problem 2

Members online

Forum statistics

Threads
474,056
Messages
2,570,443
Members
47,090
Latest member
LillieRipl

Latest Threads

Top