WordPress sends us e-mails when a visitor registers or sends a comment. "From section" of the e-mail is 'wordpress@sitename.com'. If you change this, add the following codes into your "Theme functions" (functions.php) file and change return values:
- function change_mail( $mail ) {
- return "yourname@yoursite.com"; //change as you want
- }
- function change_sender ( $sendername ) {
- return "Your Name"; //change as you want
- }
- add_filter('wp_mail_from','change_mail',1);
- add_filter('wp_mail_from_name','change_sender',1);
If you don't do this, you can use wp-mailfrom plugin.
Bu yazının kısa bağlantısı http://www.yakupgovler.com/?p=744.
Yazılarımı RSS aboneliği ile takip edebilir, yeni yazılarıma kolaylıkla ulaşabilirsiniz. Bunun için ise RSS adresimi kullanabilirsiniz.
Tarih: 24 Mart 2009 Saat: 09:41
[...] [...]