Hello Friends,
I want to send emails to the ID's Which are collected
from the Database.The code is neither giving output
nor error.I am confused.Please help me.
I am picking up the ID's from the Database one after
the other using while loop.
The code is as follows:
while not adoRS.EOF%>
<%
vemail=Response.Write(adoRS("Email"))
Response.Write(vemail)
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Newsletter"
myMail.From="[EMAIL PROTECTED]"
myMail.To=vemail
myMail.HTMLBody="This is a dummy newsletter"
myMail.Send
if not adoRS.EOF then
adoRS.MoveNext
end if
WEND %>
Regards
Dilip
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/