• Resolved jaycorts

    (@jaycorts)


    Hello there,

    I am having problems with the automation.
    Emails don’t work.
    the outcome log says:

    Message error:

    Call to undefined function WPDesk\ShopMagic\Action\Builtin\SendMail\mime_content_type()

    Error Code: 0

    Trace:

    #0 /public_html/wp-content/plugins/shopmagic-for-woocommerce/src/Action/Builtin/SendMail/AbstractSendMailAction.php(137): WPDesk\\ShopMagic\\Action\\Builtin\\SendMail\\AbstractSendMailAction->get_attachments()
    #1 /public_html/wp-content/plugins/shopmagic-for-woocommerce/src/Action/Builtin/SendMail/AbstractSendMailAction.php(93): WPDesk\\ShopMagic\\Action\\Builtin\\SendMail\\AbstractSendMailAction->execute_internal(\'myemailtest@gmail....\')
    #2 /public_html/wp-content/plugins/shopmagic-for-woocommerce/src/ActionExecution/ExecuteNow.php(66): WPDesk\\ShopMagic\\Action\\Builtin\\SendMail\\AbstractSendMailAction->execute(Object(WPDesk\\ShopMagic\\Automation\\Automation), Object(WPDesk\\ShopMagic\\Event\\Builtin\\OrderPaid))
    #3 /public_html/wp-content/plugins/shopmagic-for-woocommerce/src/ActionExecution/QueueExecutionStrategyFactory.php(164): WPDesk\\ShopMagic\\ActionExecution\\ExecuteNow->execute(Object(WPDesk\\ShopMagic\\Automation\\Automation), Object(WPDesk\\ShopMagic\\Event\\Builtin\\OrderPaid), Object(WPDesk\\ShopMagic\\Action\\Builtin\\SendMail\\SendMailAction), 0, \'62\')
    #4 /public_html/wp-content/plugins/shopmagic-for-woocommerce/src/ActionExecution/QueueExecutionStrategyFactory.php(168): WPDesk\\ShopMagic\\ActionExecution\\QueueExecutionStrategyFactory->WPDesk\\ShopMagic\\ActionExecution\\{closure}()
    #5 /public_html/wp-includes/class-wp-hook.php(305): WPDesk\\ShopMagic\\ActionExecution\\QueueExecutionStrategyFactory->run_action(Array, Array, Array, 0, \'62\')
    #6 /public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(\'\', Array)
    #7 /public_html/wp-includes/plugin.php(518): WP_Hook->do_action(Array)
    #8 /public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array(\'shopmagic/core/...\', Array)
    #9 /public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    #10 /public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(6904, \'WP Cron\')
    #11 /public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, \'WP Cron\')
    #12 /public_html/wp-includes/class-wp-hook.php(303): ActionScheduler_QueueRunner->run(\'WP Cron\')
    #13 /public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(\'\', Array)
    #14 /public_html/wp-includes/plugin.php(518): WP_Hook->do_action(Array)
    #15 /public_html/wp-cron.php(138): do_action_ref_array(\'action_schedule...\', Array)
    #16 {main}

    ShopMagic version 2.31.2
    Woocommerce version 5.7.1
    Wordpress version 5.8.1

    Any idea what may be generating the error?

    I appreciate your help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Email not sending (Outcomes status Failed)’ is closed to new replies.