On Wed, Mar 19, 2008 at 11:22 PM, Jeff DeFouw <<a href="mailto:jeffd@i2k.com">jeffd@i2k.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Mar 20, 2008 at 03:36:39AM +0530, Deepan wrote:<br>
> I am using sendmail via php mail function to send<br>
> emails. However few servers reject my mails with<br>
> the error 'Sender address rejected: Domain not<br>
> found', since mails from my server are sent as<br>
> <a href="mailto:email@localhost.localdomain">email@localhost.localdomain</a>. How do I change this<br>
> to a valid domain name ? We only own a public IP.<br>
> we dont really have a domain name, is it possible<br>
> to use IP ?<br></div></blockquote></div><br>You are unlikely to successfully deliver to the big three free email providers (Gmail, Yahoo mail, and Hotmail) unless you have:<br>1) a real domain name<br>2) on a non-dynamic IP address<br>
3) with a legitimate reverse DNS<br>4) and have SPF configured<br>5) and are using a non-spam-friendly server host<br><br>If you don't want to go through all that, your best bet is to forward your emails through your ISP's servers using use PHP Mailer ( <a href="http://phpmailer.codeworxtech.com/">http://phpmailer.codeworxtech.com/</a> ).<br>