Forum Support

Shape 5
March 28, 2024, 02:54:10 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: php mailer  (Read 1508 times)
pianoK
Jr. Member
**
Offline Offline

Posts: 3



« 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 = 'aspmx.l.google.com';    // Specify main and backup SMTP servers
$mail->SMTPAuth = true;                               // Enable SMTP authentication
$mail->Username = 'user@yourwebsite';                 // 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;
 
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: March 06, 2018, 09:17:26 AM »

Hello,

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

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
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.