Hi,
I am trying to send email from asp page to yahoo but i cannot send 
this email always i get this error "(0x8004020F)
The event class for this subscription is in an invalid partition"

 sch = "http://schemas.microsoft.com/cdo/configuration/";

 

    Set cdoConfig = Server.CreateObject("CDO.Configuration") 

 

    With cdoConfig.Fields 

        .Item(sch & "sendusing") = 2 ' cdoSendUsingPort 

        .Item(sch & "smtpserver") = "HOMAIL01.hytham.com" 
        
                .update 

    End With 

 

    Set cdoMessage = Server.CreateObject("CDO.Message.1") 

 

    With cdoMessage 

        Set .Configuration = cdoConfig 
        
       
        .From = "[EMAIL PROTECTED]" 

        .To = "[EMAIL PROTECTED] 

        .Subject = "Query" 

        .HTMLBody = strBody 

       

    .Send 

    End With 


    Set cdoMessage = Nothing 

    Set cdoConfig = Nothing 
 
Pls if any one know how to solve this problem pls give me the 
solution quickly.
Thanks in Advance








 
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/
 



Reply via email to