• 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 [email protected]

    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://www.ads-software.com/plugins/ultimate-auction/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter worduppress

    (@worduppress)

    still no response…i’ve added this code in “funtions.php” but have no glue what to edit..

    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

    (@worduppress)

    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: https://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 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://codex.www.ads-software.com/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 https://codex.www.ads-software.com/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://codex.www.ads-software.com/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’);

    Hello again worduppress,

    Check screens at 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

    (@worduppress)

    Thread Starter worduppress

    (@worduppress)

    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 >> Settings at Auction Plugin
    2.png >> WordPress Settings

    Just with those two options is working fine for me.

    3.png >> 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

    (@worduppress)

    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

    (@worduppress)

    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:[email protected] to:[email protected]’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 [email protected] 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 [email protected])

    Any suggestions?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Email Problems’ is closed to new replies.