By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,961 Members | 1,665 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,961 IT Pros & Developers. It's quick & easy.

configuring wampsever to send sumitt form

P: 1
please i would want to know how to configure my wapserver to help me submitt infromation from a form to an email address
Mar 17 '10 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 5,058

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:
Expand|Select|Wrap|Line Numbers
  1. SMTP = localhost
  2. smtp_port = 25
However, there are more powerful (and, arguably, easier to use) ways to send emails. Like Swift Mailer and PHPMailer.
Mar 17 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.