| Author |  | 
      
        | Kearney Newbie
 
  
  
 Joined: 21 May 2013
 Location: United Kingdom
 Online Status: Offline
 Posts: 5
 | 
          We have our mailBee working perfect except for one thing!
           | Posted: 21 May 2013 at 5:25am | IP Logged |   |  
           | 
 |  
 We use the SubmitToPickUpFolder, but we want to send to .cc and .Bcc
 
 It sends to the .To, but not the .Cc and .Bcc. even though we specify with
 
 mailer.Message.From.AsString = strFromEmail
 mailer.Message.Subject = cboSubject.Value
 mailer.Message.To.AsString = txtTo.Text
 mailer.Message.Cc.AsString = txtCC.Text
 mailer.Message.Bcc.AsString = txtBcc.Text
 
 mailer.SubmitToPickupFolder(strMailFolder, Nothing, strFromEmail, txtTo.Text, False)
 
 Can anyone help? I'd be so grateful!
   | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          In SubmitToPickupFolder method call, you explicitly supplied txtTo.Text which overrided list of recipients found in the message itself. And if you supply null there, it should work as you expect it to.
           | Posted: 21 May 2013 at 5:30am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Kearney Newbie
 
  
  
 Joined: 21 May 2013
 Location: United Kingdom
 Online Status: Offline
 Posts: 5
 | 
          Yeah saw that!
           | Posted: 21 May 2013 at 6:39am | IP Logged |   |  
           | 
 |  
 mailer.SubmitToPickupFolder(strServerPath & strMailFolder, Nothing, strFromEmail, Nothing, False)
 
 Comes back saying
 
 Overload resolution failed because no Public 'SubmitToPickupFolder' is most specific for these arguments:
 'Public Function SubmitToPickupFolder(pickupFolderName As String, filename As String, senderEmail As String, recipientEmails As String, doubleFirstDotAtLine As Boolean) As String':
 Not most specific.
 'Public Function SubmitToPickupFolder(pickupFolderName As String, filename As String, senderEmail As String, recipients As MailBee.Mime.EmailAddressCollection, doubleFirstDotAtLine As Boolean) As String':
 Not most specific.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Oh, I see. Please follow the approach from this example:
           | Posted: 21 May 2013 at 6:43am | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | mailer.SubmitToPickupFolder(strServerPath & strMailFolder, Nothing, strFromEmail, CType(Nothing, EmailAddressCollection), False) |  |  |  
 Hope this helps!
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Kearney Newbie
 
  
  
 Joined: 21 May 2013
 Location: United Kingdom
 Online Status: Offline
 Posts: 5
 | 
          Perfect Igor! Top quality support, and a great product!
           | Posted: 21 May 2013 at 8:02am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  |