Re:E-mail attachment from app
Quote
Christian Bergmann wrote:
> > I need to e-mail a file from within my app.
> > I need to use the default mail client.
> > First connect then send a file
> > I can use
> > Var
> > Command:String;
> > Begin
> > Command:='Mailto:m...@there.com?subject=test'
> > Shellexecute(.....
> [..]
> you can't use shellexecute to send an email attachement.
> you will have to use mapi instead.
you can use a nice MAPI wrapper:
TEmail: MAPI component (V2.10.0)
by Danny Heijl and Stefan Hoffmeister
I'm offline now, so I cannot check if it is correct, but try there:
http://www.cevi.be/pp/danny/dhe.htm
If not, search for temail2.zip in DSP :)
--
misiek
*** IRC: nbrasil ICQ UIN: 3620591 | Michal R. Hoffmann ***
*** <mailto:mis...@knm.org.pl> | PO Box 41 ***
*** http://www.kki.net.pl/mis | 71-119 Szczecin 35 ***
*** -= member of: KNM, ZUKiH, HCKU =- | POLAND ***
---- eby ekstrapolowa? trzeba by? ekstra-my?liwym (c)/M. Kruk ----