![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
Archivos adjuntos en mail
Hola a todos.
He creado un pequeño programa que envia e-mail. hasta el momento todo iba bien. Se me ocurrió poder agregar aduntos que pongo en una ListBox, pero no va: Código:
for I := 0 to adjunto.Items.Count - 1 do begin if Fileexists(adjunto.Items[i]) then tIdAttachment.Create(idMessage.MessageParts , adjunto.Items[i]); end; En uses he tenido que agregar a mano IdAttachment porque no me reconcia TidAttachment Mensajes de error: [DCC Error] MMail.pas(142): E2034 Too many actual parameters y [DCC Warning] MMail.pas(142): W1020 Constructing instance of 'TIdAttachment' containing abstract method 'TIdAttachment.OpenLoadStream' El primero lo entiendo el segundo no. Puede que no esté bien declarado en Uses ? o ¿ hay que agregar algun componente más ?
__________________
Saludos Cordiales. ------------------ |
|
|
![]() |
||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Problema al abrir archivos adjuntos | vick | Internet | 1 | 24-03-2007 07:20:41 |
Problema con archivos adjuntos y cuerpo de mail en indy | razadi | Internet | 4 | 14-09-2006 09:56:37 |
pop3 y archivos adjuntos !! | seba_cipo | Internet | 2 | 19-12-2005 14:09:28 |
Descargar archivos adjuntos con NMPOP3 | gaska | OOP | 0 | 30-11-2005 18:09:54 |
Problema con el envio de archivos adjuntos por mail | herodes | Internet | 5 | 16-08-2005 20:11:00 |
![]() |
|