PHP email form

Discussion in 'HTML / PHP / JavaScript / CSS' started by Vox3616, Sep 19, 2016.

  1. Not really a developer: I have been trying to use an old PHP email form that worked fine on a different host and need detailed info on how to make it conform to your SMTP or localhost. I've already looked at a couple of knowledge base files and sample code but I need to know specifically how to implement them. I know it might be like explaining to a child but any help would be greatly appreciated.
    https://support.discountasp.net/kb/...l-from-a-php-application-using-localhost.aspx
    https://support.discountasp.net/kb/...om-a-php-application-smtp-authentication.aspx
     
  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    Not sure what you need exactly but here is a general guideline:

    Localhost:

    SMTP Server Name: localhost
    Port: 25
    No authentication

    SMTP Server Authentication:

    SMTP Server Name: smtp.YourHostedDomainName.com or sm##.internetmailserver.net (italics represent values that need to be replaced with the information from the Control Panel.)
    Port: 25 or 587
    Username: Full email address
    Password: Password to email address
     
    mjp likes this.
  3. Thanks, Ray. I'll give it a try.
     

Share This Page