Menu

#4757 no email is sent to the user @localhost

open
nobody
None
2019-02-27
2019-02-26
Anonymous
No

Originally created by: Alex57575

Hello
the system works, emails are sent from PHP mail
but when the user tries to check their ticket on the view.php
system does not send him an email although he writes that sent
as a result, the user can not view your application because it is not registered

php error log:
PHP Warning: strlen() expects parameter 1 to be string, object given in \include\pear\Mail\mimePart.php on line 965, referer: /login.php
Warning: substr() expects parameter 1 to be string, object given in
\include\pear\Mail\mimePart.php on line 978, referer: /login.php
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in \include\pear\Mail\mail.php on line 156, referer: /login.php

osticket error log:
PHP Mail Function: mail() returned failure
Failed to add recipient: @localhost [SMTP: Invalid response code received from server (code: 501, response: : no local part)]

osTicket v1.11.0-rc1 (e321982)
Apache/2.4.38 (Win64)
MySQL 5.7.22
PHP 5.6.40

Discussion

  • Anonymous

    Anonymous - 2019-02-26

    Originally posted by: JediKev

    @Alex57575

    osTicket v1.11.0-rc1 (e321982)

    This is why. Please download and use the latest stable version from our website or from Github.

    If you download from site, be sure to fix the file permissions before deploying.

    Cheers.

     
  • Anonymous

    Anonymous - 2019-02-26

    Originally posted by: Alex57575

    thanks for the prompt response
    I will reinstall on v1.11
    probably the same bug [#4380]

     
  • Anonymous

    Anonymous - 2019-02-26

    Originally posted by: JediKev

    @Alex57575

    That's what I'm thinking 😉

    Cheers.

     
  • Anonymous

    Anonymous - 2019-02-27

    Originally posted by: Alex57575

    Downloaded from Github version v1.11 (7b1eee8)- does not work

    the same error - Failed to add recipient: @localhost [SMTP: Invalid response code received from server (code: 501, response: : no local part)]

     
  • Anonymous

    Anonymous - 2019-02-27

    Originally posted by: JediKev

    @Alex57575

    This appears to be an issue with how you have SMTP configured/setup or an issue with your SMTP server.

    How do you have SMTP configured/setup?

    Any errors via your mailllogs/server logs?

    I also see you downloaded a random version from git (as it does not include the latest commits), so I would suggest downloading latest develop-next branch or the package from our site instead and retest as well.

    Cheers.

     
  • Anonymous

    Anonymous - 2019-02-27

    Originally posted by: Alex57575

    and if you click on the user registration in /scp/users.php?id=6#users/6/register
    the message with the token delivered to the user

     
  • Anonymous

    Anonymous - 2019-02-27

    Originally posted by: Alex57575

    smtp configured simply - mail.domain.net port 25 no authentication
    all other emails from osTicket are sent and received by users.
    Only on the page /view.php email does not go away and there are errors written above
    please give a link where to download the stable version
    thanks

     

Log in to post a comment.

MongoDB Logo MongoDB