Skip to main content
Known Participant
June 22, 2012
Question

cfmail - out of office replies

  • June 22, 2012
  • 2 replies
  • 1015 views

Just wondering is there anyway of sending 'out of office replies' back to a specific email address using cfmail.

In the example below, they are always be sent back to me@mydomain.com but would prefer it if they came back to him@mydomain.com

<cfmail from="me@mydomain.com"

              username= "MyUsername"
              password= "MyPassword"

              to= "test@mydomain.com"

              subject= "Test"

              replyto="him@mydomain.com"            

             failto="her@mydomain.com">   

This topic has been closed for replies.

2 replies

BKBK
Community Expert
Community Expert
July 2, 2012

Is it a good idea to be doing out-of-office replies with cfmail? Do it at the mail server. They usually have a setting for that.

Inspiring
June 22, 2012

Not easily.  I was able to verify the behaviour you observed. 

If you have access to these email accounts using cfpop, you might be able to do something clever.  I've never used that tag myself, so other than mentioning that it exists, I can't help you.