Skip to content

Input Process Send Email is not working #1013

Closed
@kumarmohan7

Description

Hi,

I Try to send email in input process,

  1. i configure gmail in settings.php,
  2. install Swift Mailer php latest (swiftmailer/swiftmailer:^6.0),
  3. Configure path in email.php,

But i got some error in execution time, that is in bellow,

How to resolve this error or configure any other else....

please help to solve this error.....

Fatal error: Uncaught Error: Call to undefined method Swift_Message::newInstance() in /home/u885122168/public_html/iot/Lib/email.php:22 Stack trace: #0 /home/u885122168/public_html/iot/Modules/eventp/eventp_processlist.php(83): Email->__construct() #1 /home/u885122168/public_html/iot/Modules/process/process_model.php(62): Eventp_ProcessList->sendEmail('At 2018-09-05 0...', 1536092073, 29, Array, Object(Process)) #2 /home/u885122168/public_html/iot/Modules/process/process_model.php(108): Process->__call('sendemail', Array) #3 /home/u885122168/public_html/iot/Modules/input/input_methods.php(249): Process->input(1536092073, 29, '48:30,49:1,47:2...', Array) #4 /home/u885122168/public_html/iot/Modules/input/input_methods.php(101): InputMethods->process_node(1, 1536092073, '2', Array) #5 /home/u885122168/public_html/iot/Modules/input/input_controller.php(50): InputMethods->post(1) #6 /home/u885122168/public_html/iot/core.php(64): input_controller() #7 /home/u885122168/public_html/iot/index.php(191): controller('input') #8 {main in /home/u885122168/public_html/iot/Lib/email.php on line 22

image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions