[Gambas-user] SMTP ?

Steven Lobbezoo steven at ...1652...
Wed Jun 20 17:01:29 CEST 2007


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




More information about the User mailing list