{"id":1050886,"date":"2016-01-05T22:30:36","date_gmt":"2016-01-06T06:30:36","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/"},"modified":"2016-01-13T00:03:15","modified_gmt":"2016-01-13T08:03:15","slug":"add-mail-to-to-tickets-rsvp-email","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/","title":{"rendered":"Add Mail-To to Tickets RSVP email"},"content":{"rendered":"<p>Because I can&#8217;t see a forum for Tickets, I&#8217;m posting here, trusting that the answer will apply to both.<\/p>\n<p>The site I&#8217;m managing does not have any (real) domain emails, because the government organisation that owns the site has its own email domain.<\/p>\n<p>However, since people receiving RSVP tickets may want to correspond further with the office, and because replying to the email&#8217;s sending address will not lead anywhere, I&#8217;d like to include a &#8216;Reply-To&#8217; in the header.<\/p>\n<p>Changing the site&#8217;s wp_mail parameters via a filter overrides other wp_mail settings, including those set up within the Tickets plugin. In particular, html formatting gets lost. I&#8217;m a bit tentative about adding this back in (in $header), in case it breaks something else \u2014 like WordPress&#8217;s password retrieval, where the reset link can go missing.<\/p>\n<p>So, I&#8217;ve found RSVP.php in the event-tickets\/src\/Tribe folder. Modifying line 345 works, adding the Reply-To to the $headers array:<\/p>\n<p><code>$headers     = apply_filters( &#039;tribe_rsvp_email_headers&#039;, array( &#039;Content-type: text\/html&#039;, &#039;Reply-To: Recipient &lt;recipient@recipient-address.org.au&gt;&#039; ) );<\/code><\/p>\n<p>This is obviously not good practice. It&#8217;ll break next time the plugin is updated.<\/p>\n<p>Is there a better, more long term way I can achieve this?<\/p>\n","protected":false},"template":"","class_list":["post-1050886","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add Mail-To to Tickets RSVP email -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add Mail-To to Tickets RSVP email -\" \/>\n<meta property=\"og:description\" content=\"Because I can&#8217;t see a forum for Tickets, I&#8217;m posting here, trusting that the answer will apply to both. The site I&#8217;m managing does not have any (real) domain emails, because the government organisation that owns the site has its own email domain. However, since people receiving RSVP tickets may want to correspond further with [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-01-13T08:03:15+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/\",\"name\":\"Add Mail-To to Tickets RSVP email -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-01-06T06:30:36+00:00\",\"dateModified\":\"2016-01-13T08:03:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Add Mail-To to Tickets RSVP email\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add Mail-To to Tickets RSVP email -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/","og_locale":"en_US","og_type":"article","og_title":"Add Mail-To to Tickets RSVP email -","og_description":"Because I can&#8217;t see a forum for Tickets, I&#8217;m posting here, trusting that the answer will apply to both. The site I&#8217;m managing does not have any (real) domain emails, because the government organisation that owns the site has its own email domain. However, since people receiving RSVP tickets may want to correspond further with [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/","article_modified_time":"2016-01-13T08:03:15+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/","name":"Add Mail-To to Tickets RSVP email -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-01-06T06:30:36+00:00","dateModified":"2016-01-13T08:03:15+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-mail-to-to-tickets-rsvp-email\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"Add Mail-To to Tickets RSVP email"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1050886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1050886\/revisions"}],"predecessor-version":[{"id":1051586,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1050886\/revisions\/1051586"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1050886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}