Send Mail

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hello,

      i configure my server for send the mail (from my gmail account) but i have this error:


      Message: Could not instantiate mail function.


      File: /includes/libs/phpmailer/class.phpmailer.php
      Line: 1507
      URL: 207.180.231.117:8000/index.php?page=register
      PHP-Version: 7.0.32-0ubuntu0.16.04.1
      PHP-API: cli-server
      2Moons Version: 1.8.git
      Debug Backtrace:
      #0 /includes/libs/phpmailer/class.phpmailer.php(1337): PHPMailer->mailSend('Date: Sun, 4 No...', 'Hello prova,/n/n/n...')
      #1 /includes/libs/phpmailer/class.phpmailer.php(1213): PHPMailer->postSend()
      #2 /includes/classes/Mail.class.php(28): PHPMailer->send()
      #3 /includes/pages/login/ShowRegisterPage.class.php(325):
      Mail::send('christian.forna...', 'prova', 'Activation of r...', 'Hello
      prova,/n/n/n...')
      #4 /index.php(57): ShowRegisterPage->send()
      #5 {main}



      I understand that I have configured something wrong, can you help me on how to configure it correctly? :)
    • I change it on db but i have this error!


      Message: Could not instantiate mail function.


      File: /includes/libs/phpmailer/class.phpmailer.php
      Line: 1507
      URL: 207.180.231.117:8000/index.php?page=lostPassword
      PHP-Version: 7.0.32-0ubuntu0.16.04.1
      PHP-API: cli-server
      2Moons Version: 2.0.git
      Debug Backtrace:
      #0 /includes/libs/phpmailer/class.phpmailer.php(1337): PHPMailer->mailSend('Date: Mon, 5 No...', 'Hello Emperor t...')
      #1 /includes/libs/phpmailer/class.phpmailer.php(1213): PHPMailer->postSend()
      #2 /includes/classes/Mail.class.php(28): PHPMailer->send()
      #3 /includes/pages/login/ShowLostPasswordPage.class.php(198):
      Mail::send('christian.forna...', 'test', 'Forgot my passw...', 'Hello
      Emperor t...')
      #4 /index.php(57): ShowLostPasswordPage->send()
      #5 {main}
    • ok, i'm little idiot, now I install



      sudo apt-get install sendmail


      and now i not have the error and work!

      Thanks for the help :D

      The post was edited 1 time, last by elcid ().

    • admin panel SMTP
      I remain at your disposal on the forum for any questions or help.

      A help is of course not a creation of a mod



      -------------------------------------------------------
      Spaccon
      • Uni Xterium Comming Soon
      • Uni Ogame Comming Soon