Search found 1 match
- Thu Nov 01, 2007 4:55 am
- Forum: PHP - Code
- Topic: php mail - Relaying not allowed - Error
- Replies: 1
- Views: 287
php mail - Relaying not allowed - Error
Hi All Here is the php snippet that I used to send email. <?php if (mail('valid address over here', 'Subject', 'Your message here.')) { echo('<p>Mail sent successfully.</p>'); } else { echo('<p>Mail could not be sent.</p>'); } ?> And I receive the following error in Apache logs PHP Warning: mail() [...