Hi,
I'm trying to setup and email to automatically send on a specific date each month. Tehn once the email sends i want to log it in a table that ive created.
I've got the email to send alright but once i get to the logging part i get an error on mymail.subject - "The item has been moved or deleted."
I'm trying to setup and email to automatically send on a specific date each month. Tehn once the email sends i want to log it in a table that ive created.
I've got the email to send alright but once i get to the logging part i get an error on mymail.subject - "The item has been moved or deleted."
Code:
MyTrackingTable.AddNew
MyTrackingTable("LogDate") = Date
MyTrackingTable("Subject_Task") = MyMail.Subject
MyTrackingTable("Loguser") = GetUserName()
MyTrackingTable.Update