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

PHP Sending mail

chathura86
100+
P: 227
hi

im using php5, exchange server 2007, and pear Mail and pear mail_mime packeges to send mails.

it works fine with-in my domain.but i cannot send mails to addresses which are out side my domain through PHP.

but i can send mails using outlook 2003

i get the following error

SMTP server response: 550 5.7.1 Unable to relay for...

im using a valid email addressas the senders (FROM) email address.

but i cannot enable message relaying in my mail server.

please help me to solve this problem.

thank you
Dec 15 '07 #1
Share this Question
Share on Google+
1 Reply


pbmods
Expert 5K+
P: 5,821
Heya, Chathura.

You need to configure your email server to allow relaying from localhost. Check out these threads:
Jan 2 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.