ID: 41646 Updated by: [EMAIL PROTECTED] Reported By: rgadala at gmail dot com -Status: Open +Status: Feedback Bug Type: Mail related Operating System: Windows XP PHP Version: 5.2.3 New Comment:
Could it be the limitation of your SMTP server? Previous Comments: ------------------------------------------------------------------------ [2007-06-10 23:02:04] rgadala at gmail dot com Description: ------------ If I send a mail function with the body as only 'test' my email will get sent.Otherwise if I try and send a message like $body = " Thank you for requesting to leave feedback. To complete the final step, please click on this link:\n\n"; $body .= "http://www.abcdef.com/leavefeedback.php?x=12&y=12345678911234567892123456789312"; my message will not get sent. I have tried using $body = wordwrap($body, 70) before I send the email out but that still doesnt work. Reproduce code: --------------- $body = " Thank you for requesting to leave feedback. To complete the final step, please click on this link:\n\n"; $body .= "http://www.abcdef.com/leavefeedback.php?x=12&y=12345678911234567892123456789312"; $mailSent = mail([EMAIL PROTECTED], 'Leave Feedback Activation Link', $body, 'From: [EMAIL PROTECTED]'); if($mailSent){ echo ' Thank You For Requesting to leave feedback. <br />An email to '[EMAIL PROTECTED]' has been sent to you to activate your feedback. Please disregard the old one.'; } else { echo ' An email could not be sent to you due to a system error. <br /> We apologize for any inconvenience. <br />'; } Expected result: ---------------- Thank You For Requesting to leave feedback. <br />An email to [EMAIL PROTECTED] has been sent to you to activate your feedback. Please disregard the old one. (Then actually Recieving the email.) Actual result: -------------- Thank You For Requesting to leave feedback. <br />An email to [EMAIL PROTECTED] has been sent to you to activate your feedback. Please disregard the old one. (Not Recieving the email.) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41646&edit=1