MailHelper, Setting reply-to

Permalink
I haven't found a way to set reply-to using the built in mail helper.

It would be nice if it would wrap the zend Mail method "addHeader".

Setting reply-to instead of from is safer in times of spam..

Remo
 
Mnkras replied on at Permalink Reply
Mnkras
there is
public function replyto($email, $name = null) {
      if (strpos($email, ',') > 0) {
         $email = explode(',', $email);
         foreach($email as $em) {
            $this->replyto[] = array($em, $name);
         }
      } else {
         $this->replyto[] = array($email, $name);   
      }
   }
Remo replied on at Permalink Reply
Remo
I must have been blind.. Thanks
bucketsofbits replied on at Permalink Reply
I think this is what Im looking for. I've created a a basic "Contact Us" for that is successfully emailing to our SMTP server. But the reply to is always the default email address for the concrete5 admin (me currently).

How can I implement this replyto function on my form page (I apologize if this is a basic question but Im brand new to CMS and C5 but do have a programming background).

Thanks.