For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > October 2006 > mail() function just doesn't work....









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author mail() function just doesn't work....
sam ruos

2006-10-08, 6:58 pm

Hi anyone,

any bright idea?

thanks


Gleep

2006-10-08, 6:58 pm

On Sun, 08 Oct 2006 21:39:02 GMT, "sam ruos" <sam.ruos@ntlworld.com> wrote:

>Hi anyone,
>
>any bright idea?
>
>thanks
>




user swiftmailer instead
google it, then read the documentation
Ron Barnett

2006-10-08, 6:58 pm

"sam ruos" <sam.ruos@ntlworld.com> wrote in message
news:WdeWg.8839$aZ3.5321@newsfe2-win.ntli.net...
> Hi anyone,
>
> any bright idea?
>
> thanks

mail() relies on your PHP ini being set up correctly.
Generally, a windows based system needs the SMTP address of your ISP to be
entered in the PHP.ini file.
'unix/Linux systems should run OK with sendmail. but it still has to be set
in PHP.ini
Some ISPs (like BT) have got picky requiring authorisation on their SMTP
servers, so you will have to read the PHP manual to see if and how that can
be handled


Usenet

2006-10-09, 7:59 am

How should/could this work locally?

For testing purposes I'd like to be able to run the whole thing just
on my desktop.

I've got apache & php running, and mail s/w, but how to get php
talking to it?

I thought it was enough just to set it to write to the port that the
mail s/w was monitoring, but nothing seems to happen. I'm running
MailEnable, but... :-s

.:[ ikciu ]:.

2006-10-12, 6:59 pm

Hmm sam ruos <sam.ruos@ntlworld.com> wrote:
> any bright idea?


Windows? If yes then run any smtp server on your box or just set value in
php.ini or ini_set in php where your smtp server is located


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl

2be || !2be $this => mysql_query();


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com