Results 1 to 1 of 1

Thread: change "from" email

  1. #1
    Thread Starter
    jaco's Avatar
    Join Date
    Oct 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    change "from" email

    Hey there,

    Im trying to change the default "from" adress where emails are sent from. For example when someone is requesting a new password. I've added the following code in functions.php:
    Code:
        //email from name
    function my_wp_mail_from_name($name) {
        return 'mydomain.com';
    }
    
    //email from email function
    function my_wp_mail_from($content_type) {
      return 'system@mydomain.com';
    }
    
    add_filter('wp_mail_from','my_wp_mail_from');
    add_filter('wp_mail_from_name','my_wp_mail_from_name');
    This does work in other themes i use but im not sure how to succeed this within classipress. Hope someone can help me.

    Greetings,
    Jaco

    - - - Updated - - -

    #%!!

    This was really stupid, excuse me. Just use the setting on the general setting page.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How do I change "Howdy.." and "Edit my profile" and "Log out" in the admin bar
    By cereaisbrasil in forum Vantage General Discussion (Legacy)
    Replies: 3
    Last Post: July 31st, 2014, 01:07 PM
  2. Replies: 9
    Last Post: February 25th, 2013, 10:29 AM
  3. [MOD NEEDED] Change blank price "0" to "Call or email"
    By doctorcilantro in forum ClassiPress General Discussion
    Replies: 17
    Last Post: March 2nd, 2011, 09:08 AM