[Gambas-user] PDF file sent by gb.net.smtp

Leonardo Miliani leonardo at ...1237...
Sat Apr 19 11:08:29 CEST 2008


Benoit Minisini ha scritto:
> The first argument is the data, not the file path. You must write:
> 
> PostService.Add(File.Load(FileChooser1.SelectedPath), "application/pdf", "document.pdf")

I misunderstood the online help.... I'll try you suggestion.

-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...
Scegli software opensource - Choose opensource software

Co-fondatore di Gambas-it.org
Il sito di riferimento della comunità italiana degli utenti di Gambas
www.gambas-it.org




More information about the User mailing list