Posted a similar message the other day with more details below:
I have no trouble sending email on my web host server. But am curious to know if there is a way to send email to a mail server using php. So far I have had success sending but not receiving email. Apparently smtp requests are blocked by my mail server.
Does anyone know if there is way to filter this so I can send mail on my localhost?
I have not given up the idea as I have learned browsing the internet that some people have actually been able to so so. But when I try their scripts the same thing happens on my end.