email from windows server as opposed to Linux server
I've been asked to help a local charity sort out why
mail("admin [at] mydomain.com", "Subject", "message"); sends email fine
from a linux server but not on the Windows server of their new
hosting.
I'd love to help but Im a bit new to all this and have no idea.
Can anyone here help here, please?
All I can see in the phpinfor file is
sendmail_from me [at] localhost.com me [at] localhost.com
sendmail_path no value no value
and
Internal Sendmail Support for Windows enabled
Anyone ?
Re: email from windows server as opposed to Linux server
On Wed, 01 Aug 2007 11:27:07 +0200, <leader [at] congress.hotmail.com> wrote:
> I've been asked to help a local charity sort out why
> mail("admin [at] mydomain.com", "Subject", "message"); sends email fine
> from a linux server but not on the Windows server of their new
> hosting.
Please define what isn't 'fine' on the Windows server.
> I'd love to help but Im a bit new to all this and have no idea.
> Can anyone here help here, please?
> All I can see in the phpinfor file is
> sendmail_from me [at] localhost.com me [at] localhost.com
> sendmail_path no value no value
> and
> Internal Sendmail Support for Windows enabled
SMTP? Usually needed for Windows...
Unless by the last line they mean they've got some sendmail-equivalent, in
which case you really do need to supply the sendmail_path..
--
Rik Wasmus
Re: email from windows server as opposed to Linux server
On Wed, 01 Aug 2007 14:20:33 +0200, Rik <luiheidsgoeroe [at] hotmail.com>
wrote:
>On Wed, 01 Aug 2007 11:27:07 +0200, <leader [at] congress.hotmail.com> wrote:
>
>> I've been asked to help a local charity sort out why
>> mail("admin [at] mydomain.com", "Subject", "message"); sends email fine
>> from a linux server but not on the Windows server of their new
>> hosting.
>
>Please define what isn't 'fine' on the Windows server.
Well, it doesn't arrive.
>
>> I'd love to help but Im a bit new to all this and have no idea.
>> Can anyone here help here, please?
>> All I can see in the phpinfor file is
>> sendmail_from me [at] localhost.com me [at] localhost.com
>> sendmail_path no value no value
>> and
>> Internal Sendmail Support for Windows enabled
>
>SMTP? Usually needed for Windows...
>Unless by the last line they mean they've got some sendmail-equivalent, in
>which case you really do need to supply the sendmail_path..
Can you help me how to do that, please?
Re: email from windows server as opposed to Linux server
On Wed, 01 Aug 2007 14:23:57 +0200, <leader [at] congress.hotmail.com> wrote:
> On Wed, 01 Aug 2007 14:20:33 +0200, Rik <luiheidsgoeroe [at] hotmail.com>
> wrote:
>> On Wed, 01 Aug 2007 11:27:07 +0200, <leader [at] congress.hotmail.com> wrote:
>>> I've been asked to help a local charity sort out why
>>> mail("admin [at] mydomain.com", "Subject", "message"); sends email fine
>>> from a linux server but not on the Windows server of their new
>>> hosting.
>>
>> Please define what isn't 'fine' on the Windows server.
>
> Well, it doesn't arrive.
does mail() generate an error?
>>> All I can see in the phpinfor file is
>>> sendmail_from me [at] localhost.com me [at] localhost.com
>>> sendmail_path no value no value
>>> and
>>> Internal Sendmail Support for Windows enabled
>>
>> SMTP? Usually needed for Windows...
>> Unless by the last line they mean they've got some sendmail-equivalent,
>> in
>> which case you really do need to supply the sendmail_path..
>
> Can you help me how to do that, please?
I have no idea how the server in question is set up. If you control the
server, I suggest setting a proper SMTP-server in php.ini which is
accessable from the webserver. If not: ask the hoster what they have
available.
--
Rik Wasmus
Re: email from windows server as opposed to Linux server
On Wed, 01 Aug 2007 14:36:34 +0200, Rik <luiheidsgoeroe [at] hotmail.com>
wrote:
>On Wed, 01 Aug 2007 14:23:57 +0200, <leader [at] congress.hotmail.com> wrote:
>> On Wed, 01 Aug 2007 14:20:33 +0200, Rik <luiheidsgoeroe [at] hotmail.com>
>> wrote:
>>> On Wed, 01 Aug 2007 11:27:07 +0200, <leader [at] congress.hotmail.com> wrote:
>>>> I've been asked to help a local charity sort out why
>>>> mail("admin [at] mydomain.com", "Subject", "message"); sends email fine
>>>> from a linux server but not on the Windows server of their new
>>>> hosting.
>>>
>>> Please define what isn't 'fine' on the Windows server.
>>
>> Well, it doesn't arrive.
>
>does mail() generate an error?
no sir, it just doesn't arrive
>
>>>> All I can see in the phpinfor file is
>>>> sendmail_from me [at] localhost.com me [at] localhost.com
>>>> sendmail_path no value no value
>>>> and
>>>> Internal Sendmail Support for Windows enabled
>>>
>>> SMTP? Usually needed for Windows...
>>> Unless by the last line they mean they've got some sendmail-equivalent,
>>> in
>>> which case you really do need to supply the sendmail_path..
>>
>> Can you help me how to do that, please?
>
>I have no idea how the server in question is set up. If you control the
>server, I suggest setting a proper SMTP-server in php.ini which is
>accessable from the webserver. If not: ask the hoster what they have
>available.
They don't control the server.
Re: email from windows server as opposed to Linux server
On Wed, 01 Aug 2007 14:38:31 +0200, <leader [at] congress.hotmail.com> wrote:
>>>>> All I can see in the phpinfor file is
>>>>> sendmail_from me [at] localhost.com me [at] localhost.com
>>>>> sendmail_path no value no value
>>>>> and
>>>>> Internal Sendmail Support for Windows enabled
>>>>
>>>> SMTP? Usually needed for Windows...
>>>> Unless by the last line they mean they've got some
>>>> sendmail-equivalent,
>>>> in
>>>> which case you really do need to supply the sendmail_path..
>>>
>>> Can you help me how to do that, please?
>>
>> I have no idea how the server in question is set up. If you control the
>> server, I suggest setting a proper SMTP-server in php.ini which is
>> accessable from the webserver. If not: ask the hoster what they have
>> available.
>
> They don't control the server.
Then ask the one who does what his (or her, let's not assume anything)
solution is.
(BTW: Have you checked what SMTP is set to in phpinfo()?)
--
Rik Wasmus
Re: email from windows server as opposed to Linux server
On Wed, 01 Aug 2007 14:40:57 +0200, Rik <luiheidsgoeroe [at] hotmail.com>
wrote:
>On Wed, 01 Aug 2007 14:38:31 +0200, <leader [at] congress.hotmail.com> wrote:
>>>>>> All I can see in the phpinfor file is
>>>>>> sendmail_from me [at] localhost.com me [at] localhost.com
>>>>>> sendmail_path no value no value
>>>>>> and
>>>>>> Internal Sendmail Support for Windows enabled
>>>>>
>>>>> SMTP? Usually needed for Windows...
>>>>> Unless by the last line they mean they've got some
>>>>> sendmail-equivalent,
>>>>> in
>>>>> which case you really do need to supply the sendmail_path..
>>>>
>>>> Can you help me how to do that, please?
>>>
>>> I have no idea how the server in question is set up. If you control the
>>> server, I suggest setting a proper SMTP-server in php.ini which is
>>> accessable from the webserver. If not: ask the hoster what they have
>>> available.
>>
>> They don't control the server.
>
>Then ask the one who does what his (or her, let's not assume anything)
>solution is.
>
>(BTW: Have you checked what SMTP is set to in phpinfo()?)
it has two mentions. the first is the IP numbers, The second says
port 25
Re: email from windows server as opposed to Linux server
On Wed, 01 Aug 2007 15:07:30 +0200, <leader [at] congress.hotmail.com> wrote:
> On Wed, 01 Aug 2007 14:40:57 +0200, Rik <luiheidsgoeroe [at] hotmail.com>
> wrote:
>
>> On Wed, 01 Aug 2007 14:38:31 +0200, <leader [at] congress.hotmail.com> wrote:
>>>>>>> All I can see in the phpinfor file is
>>>>>>> sendmail_from me [at] localhost.com me [at] localhost.com
>>>>>>> sendmail_path no value no value
>>>>>>> and
>>>>>>> Internal Sendmail Support for Windows enabled
>>>>>>
>>>>>> SMTP? Usually needed for Windows...
>>>>>> Unless by the last line they mean they've got some
>>>>>> sendmail-equivalent,
>>>>>> in
>>>>>> which case you really do need to supply the sendmail_path..
>>>>>
>>>>> Can you help me how to do that, please?
>>>>
>>>> I have no idea how the server in question is set up. If you control
>>>> the
>>>> server, I suggest setting a proper SMTP-server in php.ini which is
>>>> accessable from the webserver. If not: ask the hoster what they have
>>>> available.
>>>
>>> They don't control the server.
>>
>> Then ask the one who does what his (or her, let's not assume anything)
>> solution is.
>>
>> (BTW: Have you checked what SMTP is set to in phpinfo()?)
>
> it has two mentions. the first is the IP numbers, The second says
> port 25
If the message does not arrive, mail() doesn't return errors, and it seems
like it the server is set up properly, there are 2 possibilities:
1. The mail is disposed of as spam in one of various filters on the way,
check wether the mailserver in question is blacklisted, try to set proper
and valid from- and reply-to-headers (according to some, also the
X-Mailer, but I think this is bogus) etc.
2. The server has an error.
So, first check 1, if you cannot find the mail in any spam filter, contact
the hoster and explain your problem. He will have to figure out what is
going on in the SMTP server.
--
Rik Wasmus
Re: email from windows server as opposed to Linux server
On Wed, 01 Aug 2007 15:18:52 +0200, Rik <luiheidsgoeroe [at] hotmail.com>
wrote:
>On Wed, 01 Aug 2007 15:07:30 +0200, <leader [at] congress.hotmail.com> wrote:
>
>> On Wed, 01 Aug 2007 14:40:57 +0200, Rik <luiheidsgoeroe [at] hotmail.com>
>> wrote:
>>
>>> On Wed, 01 Aug 2007 14:38:31 +0200, <leader [at] congress.hotmail.com> wrote:
>>>>>>>> All I can see in the phpinfor file is
>>>>>>>> sendmail_from me [at] localhost.com me [at] localhost.com
>>>>>>>> sendmail_path no value no value
>>>>>>>> and
>>>>>>>> Internal Sendmail Support for Windows enabled
>>>>>>>
>>>>>>> SMTP? Usually needed for Windows...
>>>>>>> Unless by the last line they mean they've got some
>>>>>>> sendmail-equivalent,
>>>>>>> in
>>>>>>> which case you really do need to supply the sendmail_path..
>>>>>>
>>>>>> Can you help me how to do that, please?
>>>>>
>>>>> I have no idea how the server in question is set up. If you control
>>>>> the
>>>>> server, I suggest setting a proper SMTP-server in php.ini which is
>>>>> accessable from the webserver. If not: ask the hoster what they have
>>>>> available.
>>>>
>>>> They don't control the server.
>>>
>>> Then ask the one who does what his (or her, let's not assume anything)
>>> solution is.
>>>
>>> (BTW: Have you checked what SMTP is set to in phpinfo()?)
>>
>> it has two mentions. the first is the IP numbers, The second says
>> port 25
>
>If the message does not arrive, mail() doesn't return errors, and it seems
>like it the server is set up properly, there are 2 possibilities:
>
>1. The mail is disposed of as spam in one of various filters on the way,
>check wether the mailserver in question is blacklisted, try to set proper
>and valid from- and reply-to-headers (according to some, also the
>X-Mailer, but I think this is bogus) etc.
>
>2. The server has an error.
>
>So, first check 1, if you cannot find the mail in any spam filter, contact
>the hoster and explain your problem. He will have to figure out what is
>going on in the SMTP server.
THank you I will try that.
Re: email from windows server as opposed to Linux server
Post removed (X-No-Archive: yes)
PHP » alt.php » email from windows server as opposed to Linux server