zaus / forms-3rdparty-integration

Wordpress Plugin - Forms 3rdparty Integration - a plugin to help integrate 3rdparty services with common WP Forms plugins like Contact Form 7 and Gravity Forms
http://wordpress.org/plugins/forms-3rdparty-integration/
47 stars 14 forks source link

Some hosting providers don't allow arbitrary/weird email senders #52

Closed zaus closed 8 years ago

zaus commented 8 years ago

On at least two hosting providers, the sender email address I made up from the plugin prevents the debug email from being sent.

array('From: "'.self::pluginPageTitle.' Debug" <'.$this->N.'-debug@' . str_replace('www.', '', $_SERVER['HTTP_HOST']) . '>')

Instead, allow option to specify, or leave blank to use the blog admin email.