Title: Email Problems
Last modified: August 30, 2016

---

# Email Problems

 *  [worduppress](https://wordpress.org/support/users/worduppress/)
 * (@worduppress)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/)
 * Hello I am still having a problems with my email notifications. 1. They are going
   to either the junk or spam (I know that their is another post about this..it 
   instructs to place the code below in the theme..i added the code, but now it 
   lists my personal email. can you advise me which part of this code i should edit.
   I would like the email to come from [info@domain.com](https://wordpress.org/support/topic/email-problems-11/info@domain.com?output_format=md)
 * Thanks
 * function wdm_fromemail($email) {
    $wpfrom = get_option(‘admin_email’); return
   $wpfrom; }
 * function wdm_fromname($email){
    $wpfrom = get_option(‘blogname’); return $wpfrom;}
 * add_filter(‘wp_mail_from’, ‘wdm_fromemail’);
    add_filter(‘wp_mail_from_name’,‘
   wdm_fromname’);
 * [https://wordpress.org/plugins/ultimate-auction/](https://wordpress.org/plugins/ultimate-auction/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [worduppress](https://wordpress.org/support/users/worduppress/)
 * (@worduppress)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838507)
 * still no response…i’ve added this code in “funtions.php” but have no glue what
   to edit..
 *  [Lastpoke](https://wordpress.org/support/users/lastpok/)
 * (@lastpok)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838514)
 * Hello worduppress,
 * That code is working for me. Could you share your functions.php code to check?
 * Have you properly configured the website mail? Wich is you WP configuration mail?
   Where did you set the mail up?
 * Cheers.
 *  Thread Starter [worduppress](https://wordpress.org/support/users/worduppress/)
 * (@worduppress)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838516)
 * Hell Lastpoke,
    The php code is below. I’m not sure what you mean by configure
   the website mail..is this it.. – (Mail server: mail.example.com – Port 110 Login
   Name: mail.example.com Update service: [http://rpc.pingomatic.com/](http://rpc.pingomatic.com/)).
   My mail is set up through Hostgator…I called them yesterday and we checked that
   the settings were correct..we sent test mail and nothing went to spam or junk
 * Thanks for responding
 * `<?php
    /** * fortunato functions and definitions * * [@package](https://wordpress.org/support/users/package/)
   fortunato */
 * /**
    * Set the content width based on the theme’s design and stylesheet. */ if(!
   isset( $content_width ) ) { $content_width = 930; /* pixels */ }
 * if ( ! function_exists( ‘fortunato_setup’ ) ) :
    /** * Sets up theme defaults
   and registers support for various WordPress features. * * Note that this function
   is hooked into the after_setup_theme hook, which * runs before the init hook.
   The init hook is too late for some features, such * as indicating support for
   post thumbnails. */ function fortunato_setup() {
 *  /*
    * Make theme available for translation. * Translations can be filed in the/
   languages/ directory. * If you’re building a theme based on fortunato, use a 
   find and replace * to change ‘fortunato’ to the name of your theme in all the
   template files */ load_theme_textdomain( ‘fortunato’, get_template_directory().‘/
   languages’ );
 *  // Add default posts and comments RSS feed links to head.
    add_theme_support(‘
   automatic-feed-links’ );
 *  /*
    * Let WordPress manage the document title. * By adding theme support, we
   declare that this theme does not use a * hard-coded <title> tag in the document
   head, and expect WordPress to * provide it for us. */ add_theme_support( ‘title-
   tag’ );
 *  /*
    * Enable support for Post Thumbnails on posts and pages. * * [@link](https://wordpress.org/support/users/link/)
   [http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails](http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails)*/
   add_theme_support( ‘post-thumbnails’ ); add_image_size( ‘fortunato-the-post’ ,
   1920, 99999);
 *  // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(‘
   primary’ => __( ‘Primary Menu’, ‘fortunato’ ), ) );
 *  /*
    * Switch default core markup for search form, comment form, and comments*
   to output valid HTML5. */ add_theme_support( ‘html5’, array( ‘search-form’, ‘
   comment-form’, ‘comment-list’, ‘gallery’, ‘caption’, ) );
 *  /*
    * Enable support for Post Formats. * See [http://codex.wordpress.org/Post_Formats](http://codex.wordpress.org/Post_Formats)*/
   add_theme_support( ‘post-formats’, array( ‘video’, ‘audio’, ‘gallery’ ) );
 * }
    endif; // fortunato_setup add_action( ‘after_setup_theme’, ‘fortunato_setup’);
 * /**
    * Register widget area. * * [@link](https://wordpress.org/support/users/link/)
   [http://codex.wordpress.org/Function_Reference/register_sidebar](http://codex.wordpress.org/Function_Reference/register_sidebar)*/
   function fortunato_widgets_init() { register_sidebar( array( ‘name’ => __( ‘Sidebar’,‘
   fortunato’ ), ‘id’ => ‘sidebar-1’, ‘description’ => ”, ‘before_widget’ => ‘<aside
   id=”%1$s” class=”widget %2$s”>’, ‘after_widget’ => ‘</aside>’, ‘before_title’
   => ‘<h3 class=”widget-title”>’, ‘after_title’ => ‘</h3>’, ) ); } add_action( ‘
   widgets_init’, ‘fortunato_widgets_init’ );
 * /**
    * Enqueue scripts and styles. */ function fortunato_scripts() { wp_enqueue_style(‘
   fortunato-style’, get_stylesheet_uri() ); wp_enqueue_style( ‘font-awesome’, get_template_directory_uri().’/
   css/font-awesome.min.css’); $protocol = is_ssl() ? ‘https’ : ‘http’; wp_enqueue_style(‘
   fortunato-googlefonts’, $protocol .’://fonts.googleapis.com/css?family=Roboto
   +Condensed:300,400,700′);
 *  wp_enqueue_script( ‘fortunato-custom’, get_template_directory_uri() . ‘/js/jquery.
   fortunato.js’, array(‘jquery’), ‘1.0’, true );
    wp_enqueue_script( ‘fortunato-
   navigation’, get_template_directory_uri() . ‘/js/navigation.js’, array(), ‘20120206’,
   true ); wp_enqueue_script( ‘fortunato-skip-link-focus-fix’, get_template_directory_uri().‘/
   js/skip-link-focus-fix.js’, array(), ‘20130115’, true );
 *  if ( is_singular() && comments_open() && get_option( ‘thread_comments’ ) ) {
   
   wp_enqueue_script( ‘comment-reply’ ); } } add_action( ‘wp_enqueue_scripts’, ‘
   fortunato_scripts’ );
 * /**
    * Implement the Custom Header feature. */ require get_template_directory().‘/
   inc/custom-header.php’;
 * /**
    * Custom template tags for this theme. */ require get_template_directory().‘/
   inc/template-tags.php’;
 * /**
    * Custom functions that act independently of the theme templates. */ require
   get_template_directory() . ‘/inc/extras.php’;
 * /**
    * Customizer additions. */ require get_template_directory() . ‘/inc/customizer.
   php’;
 * /**
    * Load Jetpack compatibility file. */ require get_template_directory() .‘/
   inc/jetpack.php’;
 * /**
    * Load Fortunato Dynamic. */ require get_template_directory() . ‘/inc/fortunato-
   dynamic.php’;
 * function wdm_fromemail($email) {
    $wpfrom = get_option(‘admin_email’); return
   $wpfrom; }
 * function wdm_fromname($email){
    $wpfrom = get_option(‘blogname’); return $wpfrom;}
 * add_filter(‘wp_mail_from’, ‘wdm_fromemail’);
    add_filter(‘wp_mail_from_name’,‘
   wdm_fromname’);
 *  [Lastpoke](https://wordpress.org/support/users/lastpok/)
 * (@lastpok)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838518)
 * Hello again worduppress,
 * Check screens at [https://drive.google.com/folderview?id=0B2yZ3ImBgZ4mU3lzUmJHcXpza1U&usp=sharing](https://drive.google.com/folderview?id=0B2yZ3ImBgZ4mU3lzUmJHcXpza1U&usp=sharing)
 * Maybe it help you. I hope. 😉
 * Notice that 2.png image (about Mail server: mail.example.com – Port 110 Login
   Name its only if you want to post via mail)
 * Cheers.
 *  Thread Starter [worduppress](https://wordpress.org/support/users/worduppress/)
 * (@worduppress)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838519)
 * So should it look like this
 * dl=0″>[https://www.dropbox.com/s/mctme0inb9f2qkz/Screen%20Shot%202015-12-14%20at%208.27.35%20AM.png?dl=0](https://www.dropbox.com/s/mctme0inb9f2qkz/Screen%20Shot%202015-12-14%20at%208.27.35%20AM.png?dl=0)
 *  Thread Starter [worduppress](https://wordpress.org/support/users/worduppress/)
 * (@worduppress)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838520)
 * [https://www.dropbox.com/s/mctme0inb9f2qkz/Screen%20Shot%202015-12-14%20at%208.27.35%20AM.png?dl=0](https://www.dropbox.com/s/mctme0inb9f2qkz/Screen%20Shot%202015-12-14%20at%208.27.35%20AM.png?dl=0)
 *  [Lastpoke](https://wordpress.org/support/users/lastpok/)
 * (@lastpok)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838521)
 * I think you are confused.
 * The screenshot you sent is the way to set up the option to post via mail (like
   I said about my screen 3.png). I make a mistake before, I said 2.png and I wanted
   to say 3.png. Sorry.
 * To set up properly mail options you only need to take a look at:
 * – [1.png](https://drive.google.com/file/d/0B2yZ3ImBgZ4mcUl3RlVqTlFDZzQ/view?usp=sharing)
   >> Settings at Auction Plugin
    – [2.png](https://drive.google.com/open?id=0B2yZ3ImBgZ4mcGw0V1p6a3pqMWs)
   >> WordPress Settings
 * Just with those two options is working fine for me.
 * – [3.png](https://drive.google.com/open?id=0B2yZ3ImBgZ4meTdBdTRCcHBnWUU) >> Settings
   for post via mail (if you are not planning to create post via mail, you don’t
   need to set up).
 * Cheers.
 *  Thread Starter [worduppress](https://wordpress.org/support/users/worduppress/)
 * (@worduppress)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838539)
 * Thank you for your assistance..unfortunately I am still having issues. After 
   dedicating several days and countless hours with no response from support..I 
   have decided to pay someone to look into it..this is really sad. If this plugin
   was free, i’d understand … but its not..so there should be some type of support.
   The only time that i’ve received a response from this guy is when i was asking
   questions about purchasing it. Anyway..thanks again for at least trying to help
 *  Thread Starter [worduppress](https://wordpress.org/support/users/worduppress/)
 * (@worduppress)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838591)
 * I have still not resolved this problem, but I have found out what the problem
   is.
 * Example: UserA submits an offer to UserB..this email shows up as a message form:
   UserA@gmail.com to:UserB@gmail.com..i’m not sure why this is a problem..but it
   is..(something to do with making sure that the email is coming from the location
   that it claims to be coming from) from info@mydomain to userB@gmail..and not 
   from info@mydomain claiming to be UserA@gmail sending to UserB@gmail
 * This is how I need it to work: UserA submits an offer ..my host email then sends
   an email to UserB (from: info@mydomain to [UserB@gmail.com](https://wordpress.org/support/topic/email-problems-11/UserB@gmail.com?output_format=md))
 * Any suggestions?

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Email Problems’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-auction/assets/icon-128x128.png?rev=1494738)
 * [Ultimate Wordpress Auction Plugin](https://wordpress.org/plugins/ultimate-auction/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-auction/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-auction/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-auction/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-auction/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-auction/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [worduppress](https://wordpress.org/support/users/worduppress/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/email-problems-11/#post-6838591)
 * Status: not resolved