Chris Taylor
Lifetime Supporting Member
Morning all.
I'm trying to automate some emails using citect and cicode.
I can get cicode to open Outlook, send an email and then close Outlook, no problems.
My problem is the syntax of the "MailSend" function, specifically the sNote string.
what I want to do is to place a variable in that string so it can say "tank 1 at variable litres"
for example
MailSend("[email protected]","message header","Fuel Status","",0)
this is OK
MailSend("[email protected]","message header","Fuel Status" fuel_variable" litres","",0)
is not OK
Anyone know? I'm suppecting I've have to do this as an attachment but its easier for the engineers to see this just as a mail on thier phones.
I'll put request in to Citect but its the weekend and they are not always quick to respond.
All the best
Chris Taylor
I'm trying to automate some emails using citect and cicode.
I can get cicode to open Outlook, send an email and then close Outlook, no problems.
My problem is the syntax of the "MailSend" function, specifically the sNote string.
what I want to do is to place a variable in that string so it can say "tank 1 at variable litres"
for example
MailSend("[email protected]","message header","Fuel Status","",0)
this is OK
MailSend("[email protected]","message header","Fuel Status" fuel_variable" litres","",0)
is not OK
Anyone know? I'm suppecting I've have to do this as an attachment but its easier for the engineers to see this just as a mail on thier phones.
I'll put request in to Citect but its the weekend and they are not always quick to respond.
All the best
Chris Taylor
Last edited: