Hi,
I would like to create script in instance, which will send mail to customer via mail.
I found something like this in web:
System.Web.Mail.SmtpMail.SmtpServer = "YourMailServer.com";
System.Web.Mail.SmtpMail.Send
(
{from: } "IAS@ABC.com",
{to: } "JoeEngineer@ABC.com, FredEngineer@ABC.com, PhoneNumber@messaging.XYZ.com",
{subject: } "VALUE XX = 0",
{body: } me.MailMessage
);
me.SendTrigger = 0;
Unfortunately i cannot find the example of setting up SMTP (login/password/port etc.)
Do you have any ideas how to configure sending mails?
AVEVA 2023 R2 SP1