truetone
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Contact Form 7] submission successful but no emailAs I mentioned in my previous message, I’m using Google’s free email service in my case. I had a feeling the server was only sending the mail locally, since mail to addresses outside the domain worked, but mail to addresses in the domain were not received via Google’s interface. I logged into the server control panel and deactivated mail on the account and the messages then started getting through. I hope this helps someone. I also tracked down where the
wp_mail()
resides. It’s inwp-includes/pluggable.php
. It basically just uses php-mailer, a tried and true PHP mail script.I hope to update the documentation for that function, since the wiki page is just a stub. Does anyone know if WordPress is going to publish an API any time soon? It certainly would be useful.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] submission successful but no emailI took a look into the source code and Contact Form 7 just wraps the email up and then sends it to WordPress’
wp_mail()
function.if ( $attachments ) { $for_this_mail = array(); foreach ( $attachments as $name => $path ) { if ( false === strpos( $mail_template['attachments'], "[${name}]" ) ) continue; $for_this_mail[] = $path; } return @wp_mail( $mail_recipient, $mail_subject, $mail_body, $mail_headers, $for_this_mail ); } else { return @wp_mail( $mail_recipient, $mail_subject, $mail_body, $mail_headers ); }
Perhaps the issue lies there. Unfortunately that function is poorly documented at the moment.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] submission successful but no emailI have a similar issue. If I set the email address of the form to my Gmail address, I receive messages immediately. When I change the email address to one with the same domain as the website, the messages disappear.
I’m using Google to host the domain’s email, so I have a feeling it has something to do with the mail being sent locally, when really I should be using the Gmail SMTP server. Thoughts anyone?
Forum: Fixing WordPress
In reply to: No redirect on saveNevermind. It had something to do with the Google Site Maps plugin. Once I deactivated that, everything worked fine.
Forum: Themes and Templates
In reply to: contents/posts in <iframe>Wow. What a simple, elegant solution. Thanks!
Forum: Fixing WordPress
In reply to: Uploaded file could not be moved to…This happened to me after moving my WP install to a new server. The solution that finally worked was to:
- rename the uploads folder
- create a new uploads folder
- change the permissions on the new folder to 777 (755 might work as well, I haven’t tried that)
- move my folders from the old uploads folder to the new one
- Upload a file via WordPress
I should note that my new file I uploaded for the final step was the first one for the current month. The newly uploaded image was able to create a new folder in ‘uploads’ (in my case
uploads/2008/11
) and save the image there. This after months of toying around with permissions.Of further note: I am not running PHP in Safe Mode.