Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Summative_Sam_Markey
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sam.markey
Summative_Sam_Markey
Commits
bd57ab3d
Commit
bd57ab3d
authored
May 05, 2021
by
Sam
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
53eb1a01
83418031
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sendEmailReceipt.php
OTHER_INFORMATION/php files/sendEmailReceipt.php
+2
-2
No files found.
OTHER_INFORMATION/php files/sendEmailReceipt.php
View file @
bd57ab3d
...
...
@@ -44,7 +44,7 @@ $ItemPrices = $allItemData->ItemPrices;
$body
.=
'<body>
<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
++
){
...
...
@@ -85,7 +85,7 @@ for($i = 0; $i < count($itemNames);$i++){
$mail
->
Port
=
587
;
$mail
->
SMTPAuth
=
true
;
$mail
->
Username
=
'worldmuseums@sammarkey.com'
;
$mail
->
Password
=
'
ENTER
PASSWORD HERE'
;
$mail
->
Password
=
'PASSWORD HERE'
;
$mail
->
setFrom
(
'worldmuseums@sammarkey.com'
,
'World Museums'
);
$mail
->
addAddress
(
$usersEmail
,
$userName
);
$mail
->
Subject
=
$username
.
' Your BOOKING CODE IS: '
.
$bookingID
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment