Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Why can't I use Bcc?


Message #1 by "Alexander Bienz" <alex@v...> on Wed, 21 Nov 2001 17:27:32
Hello everyone, I wonder if there's anyone out there that's come across 

this problem I'm having using CDONTS.



basically, whenever,  I send an email using Bcc the intended recipients 

don't recieve it!  I use ';'(semi-colon) to seperate email address and the 

email addresses are valid, also the mail definitely get's sent because I 

also have an address in the To object, so I don't understand why it 

doesn't work!?  Here's my code...



         Dim Mail

         Dim strFrom

         Dim strTo

         Dim strSubject

         Dim strBody



         strFrom=company_email

         strTo=target_email_address

         strSubject = subjectStr

         strBody=bodyStr

		 

Set Mail = CreateObject("CDONTS.NewMail")



	Mail.From = strFrom

	Mail.BCC = strTo

	Mail.To = StrFrom

	Mail.Subject = strSubject

	Mail.Body = strBody

	Mail.Send()



set Mail = nothing



Any help would be gratefully appreciated, this is really confusing me as I 

got most of this code from working examples including the microsoft site!



TIA



Alex

  Return to Index