[Gambas-user] PDF file sent by gb.net.smtp
Leonardo Miliani
leonardo at ...1237...
Sat Apr 19 11:29:04 CEST 2008
Leonardo Miliani ha scritto:
> 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.
>
It doesn't work!
I still continue to receive an empty document whose Mimetype is
text/plain instead of application/pdf.
The strange things are that my test applications runs for several
seconds, as if it was sending the file and Thunderbird seems to download
a big file, as it it had arrived without problems. But when I go to open
the attachment I find the empty file.
Any suggestions?
--
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