Php email setting SMTP


#1

Hi, I have a phpmailer form and needs the settings from DH/my email settings.
I got it from http://www.formmail-maker.com/formmail-maker-home.php where anybody can create a free form and download.

I am not sure what to fill in and tests give send error, no emails are sent.

It is these 3 settings I don’t know:
var $Helo = ‘’;
var $SMTPSecure = “”;
var $SMTPAuth = false or true; I tried both

Here is the whole SMTP part of phpmailer.php

// PROPERTIES FOR SMTP
/////////////////////////////////////////////////

/**

  • Sets the SMTP hosts. All hosts must be separated by a
  • semicolon. You can also specify a different port
  • for each host by using this format: [hostname:port]
  • (e.g. “smtp1.example.com:25;smtp2.example.com”).
  • Hosts will be tried in order.
  • @var string
    */
    var $Host = ‘mail.mydomain.com’;

/**

  • Sets the default SMTP server port.
  • @var int
    */
    var $Port = 587;

/**

  • Sets the SMTP HELO of the message (Default is $Hostname).
  • @var string
    */
    var $Helo = ‘???’;

/**

  • Sets connection prefix.
  • Options are “”, “ssl” or “tls”
  • @var string
    */
    var $SMTPSecure = “???”;

/**

  • Sets SMTP authentication. Utilizes the Username and Password variables.
  • @var bool
    */
    var $SMTPAuth = false or true;

/**

  • Sets SMTP username.
  • @var string
    */
    var $Username = ‘email address’;

/**

  • Sets SMTP password.
  • @var string
    */
    var $Password = ‘password’;

/**

  • Sets the SMTP server timeout in seconds. This function will not
  • work with the win32 version.
  • @var int
    */
    var $Timeout = 10;

/**

  • Sets SMTP class debugging on or off.
  • @var bool
    */
    var $SMTPDebug = false;

/**

  • Prevents the SMTP connection from being closed after each mail
  • sending. If this is set to true then to close the connection
  • requires an explicit call to SmtpClose().
  • @var bool
    */
    var $SMTPKeepAlive = false;

/**

  • Provides the ability to have the TO field process individual
  • emails, instead of sending to entire TO addresses
  • @var bool
    */
    var $SingleTo = false;

/////////////////////////////////////////////////