Commit cb7c6e4f96b370032ec200e153166da7abe5a8b3

Authored by Eugeny Galkovskiy
1 parent 631de6f6

123

Showing 2 changed files with 5 additions and 5 deletions   Show diff stats
www-arktika/email.php
@@ -36,14 +36,14 @@ if(isset($_POST['name']) && !empty($_POST['name']) && isset($_POST['email']) && @@ -36,14 +36,14 @@ if(isset($_POST['name']) && !empty($_POST['name']) && isset($_POST['email']) &&
36 //Whether to use SMTP authentication 36 //Whether to use SMTP authentication
37 $mail->SMTPAuth = true; 37 $mail->SMTPAuth = true;
38 //Username to use for SMTP authentication - use full email address for gmail 38 //Username to use for SMTP authentication - use full email address for gmail
39 - $mail->Username = "dockdep@gmail.com"; 39 + $mail->Username = "arctic.semenainua@gmail.com";
40 //Password to use for SMTP authentication 40 //Password to use for SMTP authentication
41 - $mail->Password = "k0l0b04eg@"; 41 + $mail->Password = "arctic0411";
42 42
43 //Set who the message is to be sent from 43 //Set who the message is to be sent from
44 - $mail->setFrom('dockdep@gmail.com', 'First Last'); 44 + $mail->setFrom('arctic.semenainua@gmail.com', 'First Last');
45 //Set who the message is to be sent to 45 //Set who the message is to be sent to
46 - $mail->addAddress('dockdep@gmail.com'); 46 + $mail->addAddress('arctic.semenainua@gmail.com');
47 $mail->addAddress($email,$name); 47 $mail->addAddress($email,$name);
48 //Set the subject line 48 //Set the subject line
49 $mail->Subject = 'Промокод на сайт semena.in.ua'; 49 $mail->Subject = 'Промокод на сайт semena.in.ua';
www-arktika/index.php
@@ -136,7 +136,7 @@ @@ -136,7 +136,7 @@
136 <!-- 4 Подписаться на акции--> 136 <!-- 4 Подписаться на акции-->
137 <div class="page_section section4"> 137 <div class="page_section section4">
138 <div class="container"> 138 <div class="container">
139 - <form method="post" action="/"> 139 + <form method="post" action="email.php">
140 <div class="input-group"> 140 <div class="input-group">
141 <label>Подписаться на Акции</label> 141 <label>Подписаться на Акции</label>
142 <div class="input-group-input"> 142 <div class="input-group-input">