configuring wampsever to send sumitt form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wisdom123
    New Member
    • Mar 2010
    • 1

    configuring wampsever to send sumitt form

    please i would want to know how to configure my wapserver to help me submitt infromation from a form to an email address
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    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

    Working...