jonwitts
Forum Replies Created
-
Forum: Plugins
In reply to: [Slider - Ultimate Responsive Image Slider] webfont.js errorJust to confirm this error still exists in version 2.9.1…
Never mind… In the end I found this post which lead me to install wp_mail_smtp to get contact forms to mail out from a fasthosts site… I have installed Contact Form 7 too; as I prefer the ability to add fieldsets and legends to my form…
I think I may be getting closer on this one, but I still can’t quite get it…
I think I need to get Grunion to apply the wp_mail_from and wp_mail_from_name filters just before it calls wp_mail
This should then set the from address in the headers to be [email protected]
I have checked this with a standard php mail() function and adding -f “[email protected]” to the headers will allow the email to be sent…
Does anyone have any clues about how I need to get this added into Grunion so it sends mail through my host?
Cheers
Jon
Forum: Plugins
In reply to: [Grunion Contact Form] [Plugin: Grunion Contact Form] Not receiving messages.My web hosting company have this to say about using php mail scripts… Not sure if I need t tweak yours to meet their requirements…
PHP
Use the PHP mail function and set the ‘mail from’ value using the following code – replacing [email protected] with the appropriate email address.
$email_from = “[email protected]”;
ini_set(“sendmail_from”, “$email_from”);You need to add a fifth “-f” parameter to the sendmail function. This will set the name of the from address.
mail($email_to, $email_subject, $email_message, $headers, ‘-f’.$email_from);
Forum: Plugins
In reply to: [Grunion Contact Form] [Plugin: Grunion Contact Form] Not receiving messages.With WP_DEBUG on I get the following notices as I try my form:
On loading the page with the form in:
Notice: Undefined index: action in /htdocs/blog/wp-content/plugins/grunion-contact-form/grunion-contact-form.php on line 26
Then on sending the message I get the following:
Notice: Undefined index: action in /htdocs/blog/wp-content/plugins/grunion-contact-form/grunion-contact-form.php on line 26
Notice: Undefined variable: comment_author in /htdocs/blog/wp-content/plugins/grunion-contact-form/grunion-contact-form.php on line 386
Notice: Undefined variable: comment_author_url in /htdocs/blog/wp-content/plugins/grunion-contact-form/grunion-contact-form.php on line 390
Notice: Undefined variable: extra_content_br in /htdocs/blog/wp-content/plugins/grunion-contact-form/grunion-contact-form.php on line 435
Notice: Undefined variable: comment_author_label in /htdocs/blog/wp-content/plugins/grunion-contact-form/grunion-contact-form.php on line 438
Notice: Undefined variable: comment_author_url_label in /htdocs/blog/wp-content/plugins/grunion-contact-form/grunion-contact-form.php on line 440
As they are all notices, not errors or warnings, I doubt they are stopping things going. I am going to check there is nothing strange with my webserver config, but the wordpress install I am adding this plugin to can email fine, and I have a contact form on a static php page on this server just using the mail function which operates just fine…
Forum: Plugins
In reply to: [Grunion Contact Form] [Plugin: Grunion Contact Form] Not receiving messages.Hi Joseph,
Thanks for getting back so quickly.
There is nothing in the error logs and I have tried to send it to three different email address all on different domains and it makes it through to none of them. I am afraid I do not have access to the mail server logs; only the web server logs…
Jon
Forum: Plugins
In reply to: [Grunion Contact Form] [Plugin: Grunion Contact Form] Not receiving messages.I am not getting any mailings sent out to me with this plugin either. My Contact form shortcode is this:
[contact-form subject="Jon Witts Design Contact" to="[email protected]"] [contact-field label="Your Email Address" type="email" required="true" /] [contact-field label="Full Name" type="text" required="true" /] [contact-field label="Telephone number" type="text" required="true" /] [contact-field label="Query Details" type="textarea" required="true" /] [/contact-form]
I am getting the messages in the feedback section and Akismet is not marking them as spam, but they never make it to my email account. I have tried multiple to addresses to no avail.
I am using version 2.2 of the plugin