简体   繁体   English

在php中发送邮件时出错

[英]Error while sending a mail in php

I am using the mail function of php to send the mail so for i am calling the function like 我正在使用php的邮件功能发送邮件,因为我正在调用函数

mail($EMAIL_HOST_USER, "Invitation for conference ", $message);

but i am getting an unexpected error 但我得到一个意外的错误

<br />
<b>Parse error</b>:  syntax error, unexpected 'mail' (T_STRING) in <b>/opt/lampp/htdocs/UI/user/usernotify.php</b> on line <b>43</b><br />

i am not sure where i am doing wrong . 我不知道我在哪里做错了。

Any help would be appreciated 任何帮助,将不胜感激

您在显示的行上方的某行上有语法错误 - 很可能您忘记了分号或类似的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM