please i would want to know how to configure my wapserver to help me submitt infromation from a form to an email address
configuring wampsever to send sumitt form
Collapse
X
-
Hey.
To send emails, you need an email server. (SMTP, generally)
On windows, to use the email() function, you need to specify the SMTP and smtp_port directives in the "php.ini" config file, so that they point to a valid SMTP server.
For example, assuming you have a SMTP server on your local machine:
[code=text]SMTP = localhost
smtp_port = 25[/code]
However, there are more powerful (and, arguably, easier to use) ways to send emails. Like Swift Mailer and PHPMailer.
Comment