Commit bd57ab3d authored by Sam's avatar Sam

Merge remote-tracking branch 'origin/master'

parents 53eb1a01 83418031
...@@ -44,7 +44,7 @@ $ItemPrices = $allItemData->ItemPrices; ...@@ -44,7 +44,7 @@ $ItemPrices = $allItemData->ItemPrices;
$body .='<body> $body .='<body>
<h3>----------------------ITEMS----------------------</h3><br> <h3>----------------------ITEMS----------------------</h3><br>
<table>'; <table><tr><th style="text-align: center;"><h4>Item</h4></th><th style="text-align: center;"><h4>Quantity</h4></th><th style="text-align: center;"><h4>Price</h4></th></tr>';
for($i = 0; $i < count($itemNames);$i++){ for($i = 0; $i < count($itemNames);$i++){
...@@ -85,7 +85,7 @@ for($i = 0; $i < count($itemNames);$i++){ ...@@ -85,7 +85,7 @@ for($i = 0; $i < count($itemNames);$i++){
$mail->Port = 587; $mail->Port = 587;
$mail->SMTPAuth = true; $mail->SMTPAuth = true;
$mail->Username = 'worldmuseums@sammarkey.com'; $mail->Username = 'worldmuseums@sammarkey.com';
$mail->Password = 'ENTER PASSWORD HERE'; $mail->Password = 'PASSWORD HERE';
$mail->setFrom('worldmuseums@sammarkey.com', 'World Museums'); $mail->setFrom('worldmuseums@sammarkey.com', 'World Museums');
$mail->addAddress($usersEmail, $userName); $mail->addAddress($usersEmail, $userName);
$mail->Subject = $username.' Your BOOKING CODE IS: '.$bookingID; $mail->Subject = $username.' Your BOOKING CODE IS: '.$bookingID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment