Support » Fixing WordPress » Google app with SMTP for wordpress not working

  • kzq

    (@kzq)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • kzq

    (@kzq)

    no one can help me?

    a_johnson

    (@a_johnson)

    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.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google app with SMTP for wordpress not working’ is closed to new replies.