Options

How do I send e-mails with "SMTP OCX v1.5"

ldld Member Posts: 17
edited 2003-08-21 in Navision Attain
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

Sign In or Register to comment.