Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   PHP Help needed please (https://www.cableforum.uk/board/showthread.php?t=28520)

jonboy080269 12-05-2005 14:41

PHP Help needed please
 
Hi everyone,

I have a local php application running on on my pc using appache
server in url 'http://localhost'.


I am trying to get the mail function to work but not having
much luck. My guess is I need some sort of mail server or emulator
running on my local PC but I have no idea where I should start.

Could anyone point me in the right direction please?

Thanks

Richard M 12-05-2005 14:58

Re: PHP Help needed please
 
It's pretty easy, just change the following lines in php.ini:

[mail function]
; For Win32 only.
SMTP = smtp.yourisp.com
smtp_port = 25

; For Win32 only.
sendmail_from = your@email.com

Restart your web server and that's it.

jonboy080269 12-05-2005 15:05

Re: PHP Help needed please
 
Thanks, that sounds really easy.

But do I not have to specify any passwords to connect to
my isp's mail server in order to send the email?

Richard M 12-05-2005 15:23

Re: PHP Help needed please
 
It depends on the ISP, most don't.


All times are GMT +1. The time now is 20:01.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum