Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/12/2006, 11:03
ci2000
 
Fecha de Ingreso: abril-2005
Mensajes: 483
Antigüedad: 19 años, 1 mes
Puntos: 3
Re: envio de mails

Hola, debes colocar en el form un MAPISession1 y un MAPIMessages1.

Código:
        MAPISession1.SignOn
        With MAPIMessages1
            .MsgIndex = -1
            .RecipDisplayName = "[email protected]"
            .MsgSubject = "Este es el asunto"
            .MsgNoteText = "Este es el mensaje."
            .SessionID = MAPISession1.SessionID
            .ResolveName
            .AttachmentIndex = 0
            .AttachmentName = "Archivo1.zip"
            .AttachmentPathName = "C:\Archivo1.zip"
            .AttachmentIndex = 1
            .AttachmentName = "Archivo2.xls"
            .AttachmentPathName = "C:\Archivo2.xls"
            .AttachmentPosition = 0
            .AttachmentType = 0
            .Send
        End With
        MAPISession1.SignOff
Espero te sirva.
Saludos