Class 'SyncSendMail' not found (1)



  • Hello friends,

    Since I installed z-push using zimbra backend I have issues sending messages.

    We get this error:

    Fatal error: /usr/share/z-push/lib/request/sendmail.php:37 - Class ‘SyncSendMail’ not found (1)

    Z-Push Version : 2.5.1+0 from repos
    PHP: PHP 5.4.16

    If more debug information is need let me know and I can post it.

    Thanks



  • Stack trace:
    #0 /usr/share/z-push/lib/request/requestprocessor.php(116): SendMail->Handle(1)
    #1 /usr/share/z-push/index.php(107): RequestProcessor::HandleRequest()
    #2 {main}
    thrown (1)



  • Choice of backend should have no bearing here.

    Class SyncSendMail is in /usr/share/z-push/lib/syncobjects/syncsendmail.php - it is a standard file in the z-push distribution.

    What OS are you running on?
    What command did you use to install z-push?



  • Hi @liverpoolfcfan

    Yes it may be not related with the backend it self. I just mention because it is my actual setup. I just use z-push with zimbra.

    Operating System: CentOS 7

    Command to install z-push:

    yum install z-push-common z-push-backend-combined z-push-ipc-memcached z-push-ipc-sharedmemory z-push-autodiscover
    

    I installed from official z-push repo for rpm distros

    Thanks and all the best



  • @liverpoolfcfan said in Class 'SyncSendMail' not found (1):

    /usr/share/z-push/lib/syncobjects/syncsendmail.php

    Thanks for pointing me to that file… Just check it and the content was corrupted… The file had random strings… weird. At the end just downloaded the rpm source and replaced the file and not it is working.

    thanks for the help



  • Great news


Log in to reply