I'm using OST (1.6 RC3) to handle general inquiries to our B&B business. The problem I'm running into is that our business is listed on many hospitality sites that use forms that generate e-mails that are sent to us. Unfortunately, the From address in these e-mails is from the site owner and the actual address of the person who completed the form is 'Reply-To'. OST apparently looks at the From address which then does not allow us to respond to the actual submitter. Prior to OST we were using webmail and had no problems with that.
I found where this is set in class.mailparse.php. I can easily change getFromAddressList to use Reply-To however this generates errors when individuals e-mail us directly.
So can someone show me how to do this in getFromAddressList:
1) check to see if there is a 'Reply-to'
2) if not, use the 'From' address.
Or perhaps there's another solution?
Thanks!