I have installed the OCX-file, at tried to make some simple code in Attain, but I can't make it work.
Can anyone see what I'm doing wrong?
If anyone has other examples I would bee glad to see them.
mail.NewMessage('ld@copydan.dk','TEST');
mail.SetToAdress('ld@copydan.dk');
mail.AddLine('HI');
IF NOT mail.Send THEN
MESSAGE('%1',mail.LastError);
Lars
Comments
You forgot to set the property for the smtp-host.