<%>PH P<%> require 'manager/PHPMailer-master/PHPMailerAutoload.php'; if(isset($_GET['Submit1'])) { if ($_GET['Submit1']=='Submit Donation'){ $picProvString=''; $hiresString=''; if ($_GET['picprovided']=='Yes'){ $picProvString='
Yes
No
'; } else { $picProvString='
Yes
No
'; }; if ($_GET['hires']=='Yes'){ $hiresString='
Yes
No
';} else { $hiresString='
Yes
No
'; }; $mailbody='

CSC Donate Form

First Name : '.$_GET['fname'].'
Last Name : '.$_GET['lname'].'
Phone Number : '.$_GET['phone'].'
Email Adress : '.$_GET['email'].'
Country : '.$_GET['country'].'
Donation Amount : '.$_GET['amount'].'

Please provide a description about the Donation (1-3 lines)

'.$_GET['description'].'

Since You submit donation you will receive shortly our IBAN . Thank You ..

'; $mail = new PHPMailer(true); $mail->isSMTP(); // Set mailer to use SMTP $mail->SMTPDebug = 0 ; $mail->Host = 'pod51048.outlook.com'; // Specify main and backup server $mail->SMTPAuth = true; $mail->Port = 25; // Enable SMTP authentication $mail->Username = 'mghzayel@mubs.edu.lb'; // SMTP username $mail->Password = 'forgetME2014'; // SMTP password $mail->SMTPSecure = "tls"; // Enable encryption, ,tls,'ssl' also accepted $mail->From = 'mghzayel@mubs.edu.lb'; $mail->FromName = 'Mohamed Ghzayel'; //$mail->addAddress('mghzayel@mubs.edu.lb'); $mail->addAddress('wmeouche@mubs.edu.lb'); // Name is optional //$mail->addAddress('hnakkour@mubs.edu.lb'); // Name is optional //$mail->addCC('smerhi@mubs.edu.lb'); //$mail->addCC('mghzayel@mubs.edu.lb'); $mail->addBCC('mghzayel@mubs.edu.lb'); //$mail->addCC('smerhi@mubs.edu.lb');//$mail->addBCC('bcc@example.com');//$mail->addReplyTo('info@example.com', 'Information'); //$mail->WordWrap = 50; // Set word wrap to 50 characters //$mail->addAttachment('/var/tmp/file.tar.gz'); // Add attachments $mail->isHTML(true); // Set email format to HTML $mail->Subject = 'CSC Donation Request Form'; $mail->Body=$mailbody; $mail->AltBody = 'There is An error Occured '; if(!$mail->send()) { echo 'Message could not be sent.'; echo 'Mailer Error: ' . $mail->ErrorInfo; exit; }else{echo '';} // echo $mailbody.'







'; //double dimension array for answers will be created here } } ?> MUBS - CSC Donate Form

The community service center would not flourish without the kind gifts from foundations, faculty, staff, students, alumni, parents and individuals. These gifts including material or monetary help run our distinguished programs as a model in parallel of higher education service programs.
To give please fill out the following online form:

CSC Donate Form

First Name :
Last Name :
Phone Number :
Email Adress :
Country :
Donation Amount :

Please provide a description about the Donation (1-3 lines)

After you submit the description and amount of your donation, we will contact you shortly with our IBAN. Thank you for your support and generosity.