.">

.NET Components
Chilkat .NET Components for Email, Zip Compression, Encryption, XML, S/MIME, and Character Encoding Conversion

Back to Email Class Summary

Email::AddTo

Adds a recipient to the "to" list. address is required, but name may be empty. Returns True if successful. Emails that have no "To" recipients will be sent to .

  Declarations  
    [Visual Basic]
Public Function AddTo(ByVal String friendlyName , ByVal String emailAddress) As Boolean

[C#]
public bool AddTo(string friendlyName , string emailAddress);

[C++]
public bool AddTo(String *friendlyName , String *emailAddress);

[JScript]
public function AddTo(String friendlyName , String emailAddress) : Boolean
 
  Parameters  
   
friendlyName
Name of the email recipient
emailAddress
Email address of the recipient
 

Copyright 2002, Chilkat Software, Inc. All Rights Reserved.