Rise Company
11-08-2021, 13:27
سكريبت Whmcs حل مشكلة Could not instantiate mail function
Email Sending Failed: Could not instantiate mail function.
https://www.rise.company/upload/uploads/162868080327632.png
System Cron Job: Email Sending Failed: Could not instantiate mail function.
المشكلة :
ظهور رسالة خطا داخل لوحة whmcs فى ارسال الايميلات
حل المشكلة :
The 'Could not instantiate mail function' error means you are using the PHPMail() 'Mail Type' option. The PHP Mail function uses the servers "mail" function which is not always reliable, nor does it generate a friendly error. Could not instantiate mail function means that when attempting to send the email, the server rejected it.
Switching to SMTP under Setup > General Settings > Mail tab would allow you to have more descriptive errors when an issue does occur and is usually more reliable when sending emails. The $smtp_debug line can then be added to the configuration.php file to see the full log from the server: http://docs.whmcs.com/Email_Sending_Issues#Troubleshooting
https://www.rise.company/upload/uploads/162868080302051.png
المرجع:
https://whmcs.community/topic/295384-help-with-email-automation-email-sending-failed-could-not-instantiate-mail-function/
https://whmcs.community/topic/116453-could-not-instantiate-mail-function/
Email Sending Failed: Could not instantiate mail function.
https://www.rise.company/upload/uploads/162868080327632.png
System Cron Job: Email Sending Failed: Could not instantiate mail function.
المشكلة :
ظهور رسالة خطا داخل لوحة whmcs فى ارسال الايميلات
حل المشكلة :
The 'Could not instantiate mail function' error means you are using the PHPMail() 'Mail Type' option. The PHP Mail function uses the servers "mail" function which is not always reliable, nor does it generate a friendly error. Could not instantiate mail function means that when attempting to send the email, the server rejected it.
Switching to SMTP under Setup > General Settings > Mail tab would allow you to have more descriptive errors when an issue does occur and is usually more reliable when sending emails. The $smtp_debug line can then be added to the configuration.php file to see the full log from the server: http://docs.whmcs.com/Email_Sending_Issues#Troubleshooting
https://www.rise.company/upload/uploads/162868080302051.png
المرجع:
https://whmcs.community/topic/295384-help-with-email-automation-email-sending-failed-could-not-instantiate-mail-function/
https://whmcs.community/topic/116453-could-not-instantiate-mail-function/