Tema: aspemail
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/08/2004, 08:54
Avatar de Myakire
Myakire
Colaborador
 
Fecha de Ingreso: enero-2002
Ubicación: Centro de la república
Mensajes: 8.849
Antigüedad: 23 años, 3 meses
Puntos: 146
From http://www.aspemail.com/manual_02.html:

Cita:
You must also specify the sender's email address and, optionally, name as follows:

Mail.From = "[email protected]" ' Required
Mail.FromName = "Sales Department" ' Optional

To add message recipients, CCs, BCCs, and Reply-To's, use the AddAddress, AddCC, AddBcc and AddReplyTo methods, respectively. These methods accept two parameters: the email address and, optionally, name. Notice that you must not use an '=' sign to pass values to the methods. For example,

Mail.AddAddress "[email protected]", "John Smith"
Mail.AddCC "[email protected]" ' Name is optional