WordPress.org

Ready to get started?Download WordPress

Forums

Google app with SMTP for wordpress not working (4 posts)

  1. kzq
    Member
    Posted 4 years ago #

    WordPress install on my own local computer and I can access my WP through my XYZ.com website. I am using google app email for my website and its working fine but how can I use google app email with my wordpress because if someone register on my WP admin and subscriber no one receive any email.

    For example my domain name is XYZ.com and I want to use support@xyz.com email address.

    I tried this but code not working

    <?php
    add_action('phpmailer_init', 'wp_mail_to_smtp');

    function wp_mail_to_smtp(&$phpmailer) {
    $phpmailer->SMTPSecure = 'ssl';
    $phpmailer->Mailer = 'smtp';
    $phpmailer->SMTPAuth = true;
    $phpmailer->Host = 'smtp.gmail.com';
    $phpmailer->Port = '465';
    $phpmailer->Username = 'support@XYZ.com';
    $phpmailer->Password = '1234567';
    }
    ?>

    Anyone can please help.

    Thanks

  2. kzq
    Member
    Posted 4 years ago #

    no one can help me?

  3. a_johnson
    Member
    Posted 4 years ago #

    I don't know what google app email is but if you use a regular conteact form plugin you can have someone fill out a form on your site and have it mailed to you.

    If you want a subscriber system, that's done via RSS which is already a part of your WP theme.

  4. kzq
    Member
    Posted 4 years ago #

    On my blog no can post their comments on my post because I want to stop spam comments. I am using google app here app link. How can I use google app with my local home server? I want to send password on new subscriber email address through my home server.

    I am using windows 2003 server.

Topic Closed

This topic has been closed to new replies.

About this Topic