You are here: Re: Strange php mail problem « PHP Programming Language « IT news, forums, messages
Re: Strange php mail problem

Posted by Mike the Canadian on 10/19/51 11:22

Andy Hassall <andy@andyh.co.uk> wrote:

>On Tue, 26 Jul 2005 19:57:23 GMT, Mike the Canadian
><inforequest@spam-killer-remove-techie.com> wrote:
>
>>I am having a very strange problem sending email with php. I have two
>>domains. I can send an email to one domain using php but not the
>>other. If I put both email addresses in the mail command only the one
>>email will arrive. I can send emails the traditional way to the
>>problem domain and they arrive fine. Is there anything that might
>>explain this?
>
> Yes, but it'd only be a guess without more information, since there's lots of
>things that could explain it (bugs in your code, misconfigured mail servers,
>correctly configured mailservers rejecting the mail because of how you've sent
>it, etc.)

How can it be bugs in my code when it works for one address but not
the other? How can it be a misconfigured mail server when sending
email the traditional way works just fine? Why would one server reject
the mail because of how I sent it when the other will not reject it?

See below as to how I am sending the email:

@mail( "$myrow[1]", "password request","You had requested your
password to be sent to you. You can find your password
below.\n\nPassword: $myrow[0]", "From: Mail Admin <admin@acme.co>");

Yes $myrow[0] and $myrow[1] are fine, I checked.

_______
Free Windows Clipboard Utility
http://www.clipboardmagic.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация