-
Notifications
You must be signed in to change notification settings - Fork 272
Closed
Labels
Description
Hello,
i want to use the function
procedure CreateMessage(FromName: Text; FromAddress: Text; Recipients: List of [Text]; Subject: Text; Body: Text; HtmlFormatted: Boolean)
but if I call the function with this parameters
lcuSMTPMail.CreateMessage(
"Sender Name",
"Sender Mail",
RecipientMailAddrList,
MailSubject,
BodyText,
true);
The compiler get's an Error and thinks, that I want to use function
procedure CreateMessage(FromName: Text; FromAddress: Text; Recipient: Text; Subject: Text; Body: Text; HtmlFormatted: Boolean)
So the compiler shows me the error "Argument 3: cannot convert from 'List of [Text]' to 'Text' AL(AL0133)
5. Versions:
- AL Language: 4.0.206840
- Business Central: DE Business Central 15.2 (Platform 15.0.38951.0 + Application 15.2.39040.0)