By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,640 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,640 IT Pros & Developers. It's quick & easy.

PHP Mail not sending mail to itnernal email address

P: n/a
Running a PHP mail script on Linux which has Exchange as the mail
server.
The script does not send mail to any internal email address but sends
it to any other address outside its domain!
Can somebody please help...

Thanks
Tanya
www.bluent.co.in
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello,

On 10/13/2003 03:29 AM, Tanya wrote:
Running a PHP mail script on Linux which has Exchange as the mail
server.
The script does not send mail to any internal email address but sends
it to any other address outside its domain!
Can somebody please help...


If the message is not delivered, it is probably being rejected and you
should get a bounce in the return address.

If you do not get a bounce, maybe your Linux server is still retrying
and the message is trapped in a queue.

To analyse your problem and have a quick answer to what it can be, you
may want to try this class that comes with a wrapper function named
smtp_mail(). It emulates the mail() function so you can replace it
without further changes.

You just need to set it to direct delivery mode, so it tries to send to
your Exchange server immediately instead of leaving in your local queue.

If the message is rejected, you will get a self-explanatory error
message that can tell you what is going on.

http://www.phpclasses.org/mimemessage

You also need this:

http://www.phpclasses.org/smtpclass
--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

Jul 17 '05 #2

P: n/a
Hello,

On 10/13/2003 03:29 AM, Tanya wrote:
Running a PHP mail script on Linux which has Exchange as the mail
server.
The script does not send mail to any internal email address but sends
it to any other address outside its domain!
Can somebody please help...


If the message is not delivered, it is probably being rejected and you
should get a bounce in the return address.

If you do not get a bounce, maybe your Linux server is still retrying
and the message is trapped in a queue.

To analyse your problem and have a quick answer to what it can be, you
may want to try this class that comes with a wrapper function named
smtp_mail(). It emulates the mail() function so you can replace it
without further changes.

You just need to set it to direct delivery mode, so it tries to send to
your Exchange server immediately instead of leaving in your local queue.

If the message is rejected, you will get a self-explanatory error
message that can tell you what is going on.

http://www.phpclasses.org/mimemessage

You also need this:

http://www.phpclasses.org/smtpclass
--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.