In a WAMP set up (Windows Apache, MySQL, PHP) by default mail won't work because there is no SMTP server on the localhost.
By changing the
PHP.ini
file it can be enabled to use a different (remote) email gateway. Amend the following section:[mail function]
; For Win32 only.
SMTP = some.email.serv er.com
smtp_port = 25
0 comments:
Post a Comment