Forum Support

Advanced Search


Offline pianoK
Free Member
Posts: 3
Posted on: March 06, 2018, 06:25:21 AM

I wish to set up a php mailer and it doesn't seem to work. Are there anything within legal lawyers that prevent this?

Using this setup in index file:

require '/bestilklaverstemning/booking/mail/PHPMailerAutoload.php';

$mail = new PHPMailer;

$mail->isSMTP();                                      // Set mailer to use SMTP
// $mail->SMTPDebug = 3;                               // Enable verbose debug output
// $mail->Debugoutput = 'html';

$mail->Host = '';    // Specify main and backup SMTP servers
$mail->SMTPAuth = true;                               // Enable SMTP authentication
$mail->Username = '[email protected]';                 // SMTP username (of course correct username)
$mail->Password = 'password';                           // SMTP password (and password)
$mail->SMTPSecure = 'tls';                            // Enable TLS encryption, `ssl` also accepted
$mail->Port = 587;                                    // TCP port to connect to
$mail->Encoding = "base64";  //l?sning p? ??? i subject?
$mail->CharSet = 'UTF-8'; //l?sning p? ?????

$mail->setFrom('[email protected]', 'Bestil klaverstemning');
//$mail->addAddress('[email protected]', 'Joe User');     // Add a recipient
//$mail->addAddress('[email protected]');               // Name is optional
$mail->addAddress('[email protected]', 'piano K');               // Name is optional

//$mail->addReplyTo('[email protected]', 'piano K');
$kundenavn = $kundeFornavn.' '.$kundeEfternavn;

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: March 06, 2018, 09:17:26 AM


A template would have no way to effect any code like this. We do not provide support on creating custom code.

Jump to:  

Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by
Page created in 0.018 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.