| Name | Size | Mode | Actions |
|---|---|---|---|
| empty | 0 | 0644 | editdlrm |
| EwayComponent.php | 1817 | 0644 | editdlrm |
| MailcontentComponent.php | 21875 | 0644 | editdlrm |
| MailerComponent.php | 2790 | 0644 | editdlrm |
| TwilioComponent.php | 1108 | 0644 | editdlrm |
/home/desid573/public_html/gcdriver/payment/pdd/app/Controller/Component/MailcontentComponent.php (21875B)
Dear " . $data['Order']['name'] . ",
"; $message.="Following are the details received for the order uploaded by you.
"; $message.="Order No: " . $data['Order']['orderid'] . ",
"; $message.="Subject: " . $data['Order']['subject'] . ",
"; $message.="Details: " . $data['Order']['desc'] . ",
"; $message.="Deadline: " . $data['Order']['due_date'] . ",
"; $message.="No of pages: " . $data['Order']['page'] . "
"; $message.="We will contact you soon.
"; $to = $data['Order']['email']; $subject = "Details for your Maths assignment - " . Configure::read('SITE_TITLE'); $from = Configure::read('FROM_EMAIL_ADDRESS'); $emailtemplate = "newtemplete"; $this->Mailer->sendMail($to, $subject, $from, $message, $attachments = null, $emailCofig = 'default', $emailtemplate); } public function orderquote($order_id) { $this->Order = ClassRegistry::init('Order'); $data = $this->Order->find('first', array('conditions' => array('Order.id' => $order_id))); $link = Router::url('/', true) . "payments?o_id=" . $data['Order']['orderid']; $message = ""; $message.="Dear " . $data['Order']['name'] . ",
"; $message.="We have gone through your assignment details and confirm the order will be done as per the requirements mentioned by you.
"; $message.="To make the payment, kindly log into your account & click the payment button on the order page OR pay directly using the below mentioned link.
"; $message.="Order No: " . $data['Order']['orderid'] . ",
"; $message.="Subject: " . $data['Order']['subject'] . ",
"; $message.="Total Charges: USD " . $data['Order']['order_quote'] . ",
"; $message.="Pay to start: USD " . $data['Order']['order_quote'] . ",
"; $message.="Payment Link: " . $link . "
"; $message.="Message : Our experts are ready to work on your assignment right away!
"; $message.="Regards,
"; $message.="" . Configure::read('SITE_TEAM') . "
"; $to = $data['Order']['email']; $subject = "Best Price - USD " . $data['Order']['order_quote'] . " for your assignment - " . Configure::read('SITE_TITLE'); $from = Configure::read('FROM_EMAIL_ADDRESS'); $emailtemplate = "newtemplete"; $this->Mailer->sendMail($to, $subject, $from, $message, $attachments = null, $emailCofig = 'default', $emailtemplate); } public function recievepayment($order_id) { $this->Order = ClassRegistry::init('Order'); $data = $this->Order->find('first', array('conditions' => array('Order.id' => $order_id))); $message = ""; $message.="Dear " . $data['Order']['name'] . ",
"; $message.="We earnestly acknowledge your payment of $ " . $data['Order']['order_quote'] . ", which we received from you through PayPal..
"; $message.="We are looking forward and get back to you soon.
"; $message.="Regards,
"; $message.="" . Configure::read('SITE_TEAM') . "
"; $to = $data['Order']['email']; $subject = "Payment Success - USD " . $data['Order']['order_quote'] . " for your assignment - " . Configure::read('SITE_TITLE'); $from = Configure::read('FROM_EMAIL_ADDRESS'); $emailtemplate = "newtemplete"; $this->Mailer->sendMail($to, $subject, $from, $message, $attachments = null, $emailCofig = 'default', $emailtemplate); } public function contactus($data) { $message = ""; $message.="Hello " . $data['Contact']['name'] . ",
"; $message.="Phone: " . $data['Contact']['phone'] . "
"; $message.="Message: " . $data['Contact']['note'] . "
"; $message.="We will contact you soon.
"; $to = Configure::read('FROM_EMAIL_ADDRESS'); $subject = "Contact Form for Maths assignment - " . Configure::read('SITE_TITLE'); $from = $data['Contact']['email']; $emailtemplate = "newtemplete"; $this->Mailer->sendMail($to, $subject, $from, $message, $attachments = null, $emailCofig = 'default', $emailtemplate); } public function admin_add_institute_mail($data) { //Mail To institute : Start $mailer_to = $data['User']['email']; $mailer_from = Configure::read('FROM_EMAIL_ADDRESS'); $SiteTeam = Configure::read('SITE_TEAM'); $SiteTitle = Configure::read('SITE_TITLE'); $mailer_subject = "$SiteTitle : Registration"; $body = "Hello " . $data['Institute']['institute_name'] . ",
"; $body .= "Welcome to $SiteTitle.
"; $body .= "You have successfully register in our website.
"; $body .= "Your account has been in under process. We will contact you in 24 hours.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Personal']['firstname'] . " " . $data['Personal']['lastname'] . ",
"; $body .= "Welcome to $SiteTitle.
"; $body .= "You have successfully register in our website.
"; $body .= "Your account has been in under process. We will contact you in 24 hours.
"; $body .= "Thank you
" . $SiteTeam . "
Hello Admin,
"; $body .= "New Personal user registered on your website.
"; $body .= "Name : " . $data['Institute']['firstname'] . " " . $data['Institute']['lastname'] . "
"; $body .= "Email : " . $data['User']['email'] . "
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Institute']['firstname'] . " " . $data['Institute']['lastname'] . ",
"; $body .= "Welcome to $SiteTitle.
"; $body .= "You have successfully register in our website.
"; $body .= "Your account has been in under process. We will contact you in 24 hours.
"; $body .= "Thank you
" . $SiteTeam . "
Hello Admin,
"; $body .= "New institute registered on your website.
"; $body .= "Name : " . $data['Institute']['institute_name'] . "
"; $body .= "Email : " . $data['User']['email'] . "
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Institute']['institute_name'] . ",
"; $body .= "Welcome to $SiteTitle.
"; $body .= "You have successfully register in our website.
"; $body .= "Your account has been in under process. We will contact you in 24 hours.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Institute']['institute_name'] . ",
"; $body .= "Your account request has been approved.
"; $body .= "You will shortly receive an activation email to your email address. After that you can access your account.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Institute']['institute_name'] . ",
"; $body .= "Your account has been activated now.
"; $body .= "You can access your account at $subdomainurl.
"; $body .= "If you have any issue then please contact us $admin_email_address.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Institute']['institute_name'] . ",
"; $body .= "Your account has been deactivate.
"; $body .= "If you have any issue then please contact us $admin_email_address.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Personal']['firstname'] . " " . $data['Personal']['lastname'] . ",
"; $body .= "Your account request has been approved.
"; $body .= "You will shortly receive an activation email to your email address. After that you can access your account.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Personal']['firstname'] . " " . $data['Personal']['lastname'] . ",
"; $body .= "Your account has been activated now.
"; $body .= "You can access your account at $SubDomainUrl.
"; $body .= "If you have any issue then please contact us $admin_email_address.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Personal']['firstname'] . " " . $data['Personal']['lastname'] . ",
"; $body .= "Your account has been deactivate.
"; $body .= "If you have any issue then please contact us $admin_email_address.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Customer']['firstname'] . " " . $data['Customer']['lastname'] . ",
"; $body .= "Welcome and thank you for registering at $subdomainurl.
"; $body .= "Your account has now been created and you can log in by using below email address and password
"; $body.="Email : " . $data['User']['email'] . "
"; $body.="Password : " . $data['User']['password'] . "
"; $body .= "By visiting our website or at the following URL:
"; $body .= ""; $body .= "If you have ANY question about the operation, please contact to store owner.
"; $body .= "Thank you
" . $SiteTeam . "
Hello " . $data['Personaluser']['firstname'] . " " . $data['Personaluser']['lastname'] . ",
"; $body .= "Welcome and thank you for registering at $SubDomainUrl.
"; $body .= "Your account has now been created and you can log in by using below email address and password
"; $body.="Email : " . $data['User']['email'] . "
"; $body.="Password : " . $data['User']['password'] . "
"; $body .= "By visiting our website or at the following URL:
"; $body .= ""; $body .= "If you have ANY question about the operation, please contact to store owner.
"; $body .= "Thank you
" . $SiteTeam . "
Dear Customer,
"; $body .= "Your account is debited with " . $category['Category']['point_required'] . " points on " . date('d M Y') . ",
"; $body .= "Redeemed Category : " . $category['Category']['category_name'] . "
"; $body .= "To know your available balance please login with your credentials.
"; $body .= "If you have ANY question about the operation, please contact to store owner.
"; $body .= "Thank you
" . $SiteTeam . "
Dear Customer,
"; $body .= "Your account is credited with " . $category['Pointcategory']['points'] . " points on " . date('d M Y') . ",
"; $body .= "Rewarded Category : " . $category['Pointcategory']['name'] . "
"; $body .= "To know your available balance please login with your credentials.
"; $body .= "If you have ANY question about the operation, please contact to store owner.
"; $body .= "Thank you
" . $SiteTeam . "