Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-16 Thread Eric Lee
Hi,

As I know that php did't setting user name and password.
So, just install any smtp server with authenticaton set to "no
authentication"
Much list IIS smtp server.



Eric,
Regards,


On 1/16/10, Andy Shellam  wrote:
>
> Hi,
>
> >
> > Also http://www.softstack.com/freesmtp.html which vikash mentioned works
> > through outlook settings.
> >
> > Anyways the below will help-
> >
> > http://php.net/manual/en/ref.mail.php
> >
> > http://glob.com.au/sendmail/
>
>
> Personally, I always found hMailServer to be perfectly reliable as a relay
> on Windows - just install it and SMTP to localhost - nothing more, nothing
> less.
>
> Andy


Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Andy Shellam
Hi,

> 
> Also http://www.softstack.com/freesmtp.html which vikash mentioned works
> through outlook settings.
> 
> Anyways the below will help-
> 
> http://php.net/manual/en/ref.mail.php
> 
> http://glob.com.au/sendmail/


Personally, I always found hMailServer to be perfectly reliable as a relay on 
Windows - just install it and SMTP to localhost - nothing more, nothing less.

Andy

Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Gaurav Kumar
Hi Richard, The problem is that if I am using any open source software or
any other pre-built software then I will not be able to manage through
ini_set.

Also http://www.softstack.com/freesmtp.html which vikash mentioned works
through outlook settings.

Anyways the below will help-

http://php.net/manual/en/ref.mail.php

http://glob.com.au/sendmail/

Thanks,

Gaurav Kumar
blog.oswebstudio.com



On Fri, Jan 15, 2010 at 6:21 PM, Richard Quadling
wrote:

> 2010/1/15  :
> > You can install any smtp server on your windows machine and the mail()
> will
> > work with default settings. You can check this out:
> > http://www.softstack.com/freesmtp.html
> >
> > Thanks,
> >
> > Vikash Kumar
> > http://vika.sh
> >
> >
> > On Fri, Jan 15, 2010 at 5:30 PM, Gaurav Kumar
> > wrote:
> >
> >> Sorry Kim, don't want to use phpmailer script or manually setting user
> >> accounts u/p in the script.
> >>
> >>
> >>
> >> On Fri, Jan 15, 2010 at 5:23 PM, Kim Madsen  wrote:
> >>
> >> > Hi Gaurav
> >> >
> >> > Gaurav Kumar wrote on 15/01/2010 09:54:
> >> >
> >> >
> >> >  NO SMTP
> >> >>
> >> >> Any trusted SMTP software to install on local development machine and
> >> how
> >> >> to
> >> >> set it up with php to send an email?
> >> >>
> >> >> Also just providing the SMTP server details in php.ini will not work
> for
> >> >> me
> >> >> as this requires authentication/credentials etc..
> >> >>
> >> >
> >> > Get PHPmailer and make a gmail account that you connect to and mail
> >> > through.
> >> >
> >> > --
> >> > Kind regards
> >> > Kim Emax - masterminds.dk
> >> >
> >>
> >
>
> You only need a local SMTP server if you want to hold and relay mail.
>
> If you want to send mail directly to the recipients SMTP server you
> can do that with standard PHP.
>
> getmxrr() is your friend here.
>
> You provide it with the domain of the recipient and you get back the
> SMTP server(s) associated with that domain.
>
> Now, you can send the message to THEIR smtp server ...
>
> ini_set('SMTP', );
>
> where  is one of the servers returned from getmxrr().
>
> No authentication required.
>
>
>
>
> --
> -
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>


Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Richard Quadling
2010/1/15  :
> You can install any smtp server on your windows machine and the mail() will
> work with default settings. You can check this out:
> http://www.softstack.com/freesmtp.html
>
> Thanks,
>
> Vikash Kumar
> http://vika.sh
>
>
> On Fri, Jan 15, 2010 at 5:30 PM, Gaurav Kumar
> wrote:
>
>> Sorry Kim, don't want to use phpmailer script or manually setting user
>> accounts u/p in the script.
>>
>>
>>
>> On Fri, Jan 15, 2010 at 5:23 PM, Kim Madsen  wrote:
>>
>> > Hi Gaurav
>> >
>> > Gaurav Kumar wrote on 15/01/2010 09:54:
>> >
>> >
>> >  NO SMTP
>> >>
>> >> Any trusted SMTP software to install on local development machine and
>> how
>> >> to
>> >> set it up with php to send an email?
>> >>
>> >> Also just providing the SMTP server details in php.ini will not work for
>> >> me
>> >> as this requires authentication/credentials etc..
>> >>
>> >
>> > Get PHPmailer and make a gmail account that you connect to and mail
>> > through.
>> >
>> > --
>> > Kind regards
>> > Kim Emax - masterminds.dk
>> >
>>
>

You only need a local SMTP server if you want to hold and relay mail.

If you want to send mail directly to the recipients SMTP server you
can do that with standard PHP.

getmxrr() is your friend here.

You provide it with the domain of the recipient and you get back the
SMTP server(s) associated with that domain.

Now, you can send the message to THEIR smtp server ...

ini_set('SMTP', );

where  is one of the servers returned from getmxrr().

No authentication required.




-- 
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread vikash . iitb
You can install any smtp server on your windows machine and the mail() will
work with default settings. You can check this out:
http://www.softstack.com/freesmtp.html

Thanks,

Vikash Kumar
http://vika.sh


On Fri, Jan 15, 2010 at 5:30 PM, Gaurav Kumar
wrote:

> Sorry Kim, don't want to use phpmailer script or manually setting user
> accounts u/p in the script.
>
>
>
> On Fri, Jan 15, 2010 at 5:23 PM, Kim Madsen  wrote:
>
> > Hi Gaurav
> >
> > Gaurav Kumar wrote on 15/01/2010 09:54:
> >
> >
> >  NO SMTP
> >>
> >> Any trusted SMTP software to install on local development machine and
> how
> >> to
> >> set it up with php to send an email?
> >>
> >> Also just providing the SMTP server details in php.ini will not work for
> >> me
> >> as this requires authentication/credentials etc..
> >>
> >
> > Get PHPmailer and make a gmail account that you connect to and mail
> > through.
> >
> > --
> > Kind regards
> > Kim Emax - masterminds.dk
> >
>


Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Gaurav Kumar
Sorry Kim, don't want to use phpmailer script or manually setting user
accounts u/p in the script.



On Fri, Jan 15, 2010 at 5:23 PM, Kim Madsen  wrote:

> Hi Gaurav
>
> Gaurav Kumar wrote on 15/01/2010 09:54:
>
>
>  NO SMTP
>>
>> Any trusted SMTP software to install on local development machine and how
>> to
>> set it up with php to send an email?
>>
>> Also just providing the SMTP server details in php.ini will not work for
>> me
>> as this requires authentication/credentials etc..
>>
>
> Get PHPmailer and make a gmail account that you connect to and mail
> through.
>
> --
> Kind regards
> Kim Emax - masterminds.dk
>


Re: [PHP] SMTP Local development to Send email in PHP; Windows Platform/ XP with no IIS

2010-01-15 Thread Kim Madsen

Hi Gaurav

Gaurav Kumar wrote on 15/01/2010 09:54:


NO SMTP

Any trusted SMTP software to install on local development machine and how to
set it up with php to send an email?

Also just providing the SMTP server details in php.ini will not work for me
as this requires authentication/credentials etc..


Get PHPmailer and make a gmail account that you connect to and mail through.

--
Kind regards
Kim Emax - masterminds.dk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php