[Gambas-user] SMTP ?

Benoit Minisini gambas at ...1...
Thu Jun 21 01:20:47 CEST 2007


On mercredi 20 juin 2007, Steven Lobbezoo wrote:
> Hi,
>
> Did anything changed in one of the last trunks on the interface to libsmtp?
>
> I have this codesnippet :
>       tmp = file.Load(User.Home & "/request/work/tempfile.pdf")
>       Ema.Alternative = FALSE
>       Ema.Add(tmp, "text/pdf")
>       Ema.Send
>
> Used to work fine, but suddenly now it gives me back :
>
> Cannot add part: bad arguments passed to libsmtp_function
>
> on the Ema.Add instruction.
> I checked the file (tempfile.pdf), and it's ok.
> btw: Ema is a SmtpClient, tmp a string
>
> Steven
>

Strange... Can you send me your pdf file?

Regards,

-- 
Benoit Minisini




More information about the User mailing list