Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Save sent mails (Formatted)


Message #1 by Sumanesh Maharabhusanam <sumaneshm@y...> on Thu, 27 Jun 2002 23:11:34 -0700 (PDT)
--0-1729762673-1025244694=:52042
Content-Type: text/plain; charset=us-ascii


Hi all, 

Please anyone tell me how to save sent mails to sent items folder.. i want to send HTML formatted mails. I ve got Win 2k and
exch2k.. b4 i tried the following code..

        Dim iConf As New CDO.Configuration
        Dim flds  As ADODB.Fields
        Set flds = iConf.Fields
        flds(cdoSendUsingMethod) = cdoSendUsingExchange
        flds(cdoSaveSentItems) = True
        flds.Update
       
        Dim msg As New CDO.Message
        Set msg.Configuration = iConf
       
        msg.From = FromId
        msg.To = ToId
         msg.HTMLBody = body
        msg.Send
        
        sendMail = True

itz working internally.. tatz within the organization.. our own mail boxes it z working fine.. but when i send mail to external mail
ids.. tatz to yahoo.com or rediffmail.com , itz not working.. itz treating it as text mail only.. please anyone help me.. how to
send an formatted mail and save that in sent items folder.. itz eating my head for the past few days..

thanks in advance

Sumanesh

PS: plz plz.. reply itz very very urgent...



---------------------------------
 Beautiful things in life take more time to arrive, 
but they are worth waiting for. 
---------------------------------



---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

  Return to Index