0

My application inquiry form is working on last 2 years But now I am fill all information on my inquiry page and submit

Expected: successfully send message

Actual: I don't get any email in my email account

I have to check my server log its some error error_log file

[21-Oct-2013 09:44:07 Europe/Minsk] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/public_html/includes/common/lib/email/Pear/PEAR.php on line 557
[21-Oct-2013 09:44:07 Europe/Minsk] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/public_html/includes/common/lib/email/Pear/PEAR.php on line 560
[21-Oct-2013 09:44:07 Europe/Minsk] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/public_html/includes/common/lib/email/Pear/Mail.php on line 134
[21-Oct-2013 09:44:07 Europe/Minsk] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/public_html/includes/common/lib/email/Pear/Mail/smtp.php on line 189
[21-Oct-2013 09:44:07 Europe/Minsk] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/public_html/includes/common/lib/email/Pear/Net/SMTP.php on line 127

Help me to sort out this issue

4

1 回答 1

1

尝试使用 mail("somebody@example.com","My subject",$txt); 发送邮件

请检查参考http://www.w3schools.com/php/func_mail_mail.asp

将值分配给您声明的变量时显示错误。请检查

于 2014-02-15T07:05:04.600 回答