Emails sent from Action not recieving Out of Office

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)

Subject: Emails sent from Action not recieving Out of Office

I think I figured it out.

It wasn’t the OOO that was deficient, it was my testing practices.

I was unaware that “The agent generates automatic responses once for each person who sends mail to you, even if the person sends several messages to you during your absence”

I was testing by manually sending the user an email form my Notes client to ensure the OOO was on, then sending one programatically.

If I turn the OOO off and then on again, I DO get the OOO response to the programatically sent email as long as I don’t test the OOO manually.

I found the quote above on the following webpage: IBM Developer

I really appreciate everyone’s responses.

Kind regards,

Riley

Subject: Emails sent from Action not recieving Out of Office

If someone sends an assignment to you, who shows up as the sender? Any chance it shows up as the server?

If you manually send an email to someone with the OOO turned on, do you get the OOO response?

Subject: RE: Emails sent from Action not recieving Out of Office

Hi Doug, thanks for responding.

It is definitely the person who clicked ‘Assign’ that is listed as the sender.

Yes, when someone sends the person an email manually, they recieve an OOO response.

Subject: RE: Emails sent from Action not recieving Out of Office

Check to see if the original email has a field on it called “$AssistMail” set to “1”. I believe the agent manager is programmed to not respond to e-mail with this set. This prevents routing loops. There are some other items the ooto agent checks and cancels the agent if they match. Depending on your mail template version, look at the DocumentOK function in the Declarations of the ooto agent code.