SMTP mail on Contact Page, Need a help.

Discussion in 'Dzonia WordPress Theme' started by artter, Jan 22, 2014.

  1. artter

    artter New Member

    Joined:
    Dec 27, 2013
    Messages:
    9
    Likes Received:
    0
    Hi all,
    I am a Dzonia user. I don't use sendmail of local VPS, but another SMTP mail server from mail space provider. I installed wp-mail-smtp plugin, the test mail is OK. Unfortunately, the Contact Form Page dosn't work, it still delivers to sendmail.

    Need a help.
    Thanks !
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Theme using WordPress default mail function.
    If you want to use another mail space provider than you need to configure it manually
    or you can contact with there plugin related support forum, they will help you.
     
  3. artter

    artter New Member

    Joined:
    Dec 27, 2013
    Messages:
    9
    Likes Received:
    0
    Can i config php to support smtp mail on contact page ?
    I did following but it dosn't work.

    first:
    nano pluggable.php:
    ...
    $phpmailer->IsMail();
    to
    $phpmailer->IsSMTP();

    then:
    nano class-phpmailer.php:
    ...
    public $Mailer = 'smtp';
    public $Host = 'smtp.xxx.com';
    public $Port = 465;
    public $SMTPSecure = "ssl";
    public $SMTPAuth = true;
    public $Username = '[email protected]';
    public $Password = 'xxx';

    Thanks!
     
  4. artter

    artter New Member

    Joined:
    Dec 27, 2013
    Messages:
    9
    Likes Received:
    0
    No person to help me ?
     
  5. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Its required lots of customization to replace current WordPress mail system with any other mail system.
    If you want to do so then please contact to freelancer for this issue.
    They will help you.
     
  6. artter

    artter New Member

    Joined:
    Dec 27, 2013
    Messages:
    9
    Likes Received:
    0
    Solved. I created a php to set mail parameters(require wp phpmailer & smtp), then modify the template-contact.php file.
    It seems that everything is OK.
    Thanks.
     

Share This Page