|
Posted by Denis Gerina on 06/04/07 23:41
Jon Slaughter wrote:
> "Denis Gerina" <denisREMOVETHIS@cced.ba> wrote in message
> news:466483f4$1@news.bihnet.ba...
>> Jon Slaughter wrote:
>>> Ok, I got it using mail() and on the server.
>>>
>>> I installed the IIS SMTP service and tried to use it but get an error.
>>> Something about relaying. I guess the smtp server on my comp tries to use
>>> my ISP's and it won't let it go through? (So I'm stuck swith local
>>> messaging?)
>>>
>>> Thanks,
>>> Jon
>> Start up the IIS Manager, look for Smart Host option in your SMTP
>> configuration, and enter the outgoing (SMTP) mail server that your ISP
>> provided to you (or any other valid SMTP server). You might also need to
>> enter the SMTP authentication information, most likely username &
>> password.
>>
>> If you set that up correctly, scripts on your local machine would be
>> mailing to your local SMTP server, which is going to relay to the
>> smarthost which then takes care of the rest.
>
> Ok, thanks... that will help with debugging locally instead of having to
> worry about doing it on the web host's server.
>
> Thanks,
> Jon
>
>
Yes, I've had to do the same a couple of times. :)
Another thing - it's been a while since I've done it - I think there
might be another thing you need to do - enable relaying somewhere in IIS
Manager SMTP properties and add localhost (127.0.0.1) to the list of
hosts that your local SMTP relays for.
I'm currently booted into Linux so I don't know exactly what the options
are but I don't think it would be difficult to find them - but if you
encounter a problem just let me know here. :)
[Back to original message]
|