Mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vivekjain
Forum Commoner
Posts: 76
Joined: Thu Jan 08, 2004 12:38 am

Mail

Post by vivekjain »

Hi,
I am trying to send an email using PHP. The issue is, when I give a yahoo or a hotmail mail id as "To" address, the mail is being sent, but if I give my company's email id, the mail is not being sent. It doesnt give an error, but I am receiving the mail. For eg. name@companyname.com, doesnt work Can anyone suggest me a solution? thanks
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post by Skara »

check your spam box. If the email will send with one To:, it will send from another. The problem lies in the recieving end.
vivekjain
Forum Commoner
Posts: 76
Joined: Thu Jan 08, 2004 12:38 am

Mail

Post by vivekjain »

Checked the spam box, havent received it. Is there any php.ini setting or IIS setting?
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post by Skara »

... as I stated above, if it sends to one addy it will send to another. There's nothing wrong with the program, it's the end user. -_-'
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Some filters are more greedy than others. For example, make sure you are sending all the required headers. There are many threads discussion emailing problems. I am sure yours isnt much different.

Show us some code.
Post Reply