CDO Addressing to Hotmail
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > CDO Addressing to Hotmail




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    CDO Addressing to Hotmail  
J. Alan Rueckgauer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-04 01:55 PM

Hello.  When using CDO in an ASP page to send email to Hotmail or Yahoo, the
"to" address does not appear at the receiving end and gets placed into the
bulk mail folder.  (This is the case when viewing the mailbox either through
Outlook Express or the browser interface.)  However, when looking at the
message's properties->details tab, the correct addressing is shown.  Does
anyone know how to either get CDO to format the message header correctly?
Or, is this some other issue?  BTW, this is *not* happening with the same
messages being sent to other places, like verizon.net.

Sample of the code that's generating the message:

with rsMailRecipients
do while not .eof
' set the message content strings based on record details
' logic & assignments omitted
set objMail = createobject("CDO.Message")
objMail.Sender = chr(34) & strSenderName & chr(34) & chr(32) & "<" &
strSenderEmail & ">"
objMail.To = chr(34) & strRecipientName & chr(34) & chr(32) & "<" &
strRecipientEmail & ">"
objMail.Subject = strMessageSubject
objMailHTMLBody = strMessageBody
objMail.Send
loop
.movenext
end with







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:02 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register