Hi all, I asked this question previously and recieved no responses. I figure that I may not have provided enough detail, so I will try again.
I have a form that is designed to collect information about handicapped accessibility issues in our municipality. From the time that this information is collected, legislation dictates that, we have 72 hours to provide a response to the issue.
On the form, I have a NotesName field that holds the name of the person assigned to providing that response. I also have an ‘Assign’ button, that when pressed, initiates an Action that sends an email to the person in that NotesName field notifying them of their responsibility. That email is sent from the user that clicks on the ‘Assign’ button.
All of that works fine.
The issue arises when the person to whom the email is sent has their Out of Office notification on. The person whom the email was sent from does not recieve that Out of Office notification. I am assuming this happens because the email was sent programatically, as opposed to being sent directly from the Notes mail client manually.
Due to the time sensitive nature of the issue, it is important that the person who sent the email recieve this Out of Office notification.
If you have any suggestions as to where I am going wrong, I would much appreciate them.
The relevant code is quite simple, you will see it below this text.
Kind regards,
Riley
Set rtItem = New NotesRichTextItem(mailDoc, “Body”)
mailDoc.SendTo = doc.PersonResponsible
mailDoc.CopyTo = doc.CarbonCopy
mailDoc.Subject = "Accessibility Feedback #" & uiDoc.FieldGetText("FeedbackNumber")
rtItem.AppendText("Please be advised that you have been assigned as a person responsible for Accessibility Feedback # " & uiDoc.FieldGetText("FeedbackNumber") & _
Chr(13) & Chr(13))
rtItem.AppendText("Click on the following link to view the Accessibility Feedback document: ")
Call rtitem.AppendDocLink(doc, "Click on the link to visit the Accessibility Feedback document")
Call mailDoc.Send(False, False)