Beispiel #1
0
        
        <br>
          <a href="http://www.emmgts.com/export/export_cafehits.php?w=1&amp;date=' . $date . '">Download Report</a>
          
        </p>
<p><img src="/home/emmgts/public_html/mail/background.gif" width="1024" height="6" /><img src="4.jpg" width="137" height="40" /></p> ';
$mail->setHTML($htmlMailTemplate);
/**
 * Set the delivery receipt of the email. This should be an email address that the receipt should be sent to.
 * You are NOT guaranteed to receive this receipt - it is dependent on the receiver.
 */
$mail->setReceipt('*****@*****.**');
/**
 * Add an embedded image. The path is the file path to the image.
 */
$mail->addEmbeddedImage(new fileEmbeddedImage('/home/emmgts/public_html/mail/background.gif'));
$mail->addEmbeddedImage(new fileEmbeddedImage('/home/emmgts/public_html/mail/4.jpg'));
/**
 * Add an attachment to the email.
 */
//$mail->addAttachment(new fileAttachment(''));
/**
 * Send the email. Pass the method an array of recipients.
 */
//$address = '*****@*****.**';
//$address2= '*****@*****.**';
$result = $mail->send(array('*****@*****.**'));
?>


Beispiel #2
0
 */
$mail->setHTML('<p><b>Dear Recipient</b>,</p>
        
        <br>
          <a href="http://www.emmgts.com/export/export_cafehits.php?w=1&DB_TBLName=cafe_hits">Download Report</a>
          
        </p>
<p><img src="background.gif" width="1024" height="6" /><img src="4.jpg" width="137" height="40" /></p> ');
/**
 * Set the delivery receipt of the email. This should be an email address that the receipt should be sent to.
 * You are NOT guaranteed to receive this receipt - it is dependent on the receiver.
 */
$mail->setReceipt('*****@*****.**');
/**
 * Add an embedded image. The path is the file path to the image.
 */
$mail->addEmbeddedImage(new fileEmbeddedImage('background.gif'));
$mail->addEmbeddedImage(new fileEmbeddedImage('4.jpg'));
/**
 * Add an attachment to the email.
 */
//$mail->addAttachment(new fileAttachment(''));
/**
 * Send the email. Pass the method an array of recipients.
 */
$address = '*****@*****.**';
$address2 = '*****@*****.**';
$result = $mail->send(array($address, $address2));
?>

function sendMailToCafe($cafe_user_id, $password, $email)
{
    require_once '../classes/mail/htmlMimeMail5.php';
    $mail = new htmlMimeMail5();
    $mail->setFrom('Envisage Media Pvt. Ltd. <*****@*****.**>');
    $mail->setSubject('Cafe Registration Confirmation');
    $mail->setPriority('high');
    $mail->setText('Cafe Registration');
    $html_msg = '<div style="width:550px; float:left; background:#f1f1f1">
  <div style="padding:10px;">
    <Div style="background:#FFFFFF; padding:15px">
      <div style="font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#333333; line-height:16px; text-decoration:none"><img src="http://www.emmgts.com/images/logo.gif" alt="" width="151" height="46" /><br />
          <br />
        <br />
        Dear Cyber Caf&ecirc; Owner,<br />
<br />

A warm welcome to the Envisage Media Family.<br />
<br />
<br>
          Your Cafe has been activated </br>
		  
		  Your cafe id is :' . $cafe_user_id . '
		  </br>
		  Your Password : '******'
          
        </p>
It is our pleasure to be associated with you. With your cooperation we look forward to both of us reaching great level of success. We can assure you this will be mutually beneficial collaboration.<br />
<br />
You can check your payment status regularly by visiting the following 
URL:<br>
<a href="http://cafe.emmgts.com" target="_blank" style="text-decoration:none"> http://cafe.emmgts.com</a> using your caf&ecirc; ID: ' . $cafe_user_id . ' and the password: '******'
<br />
<br />
You can also access your payment details by logging in from our website: <br />
<a href="http://www.envisagemedia.in" target="_blank" style="text-decoration:none">http://www.envisagemedia.in</a> by clicking on the "Associates" login tab.
<br />
<br />
From now onwards, you will get your payment either by online transfer or by demand draft between the 1st and 10th of every month. Our tele-executive will call you shortly so please help us by providing the required information. 
<br />
      <br />
      <br />
      <strong>Payment Terms and Conditions </strong>
<ol style="margin-left:35px;margin-right:5px; padding:0px; margin-top:10px"><li>Money will keep getting added on a daily basis</li>
<li>You will get a fixed daily amount. (Monthly amount divide by the number of days)</li>
<li>Your systems should be live for a minimum of 4 hours to get the days payment.</li>
<li>Live means there should be use of your system for a minimum of 4 hours a day or you can say minimum 4 users use your system.</li>
<li>Your payment cycle will shift on 1st of next month</li></ol><br />
<strong>Installation process</strong><br />
<br />

<font color="#FF0000"><strong>Step 1:</strong></font> Download setup file using following URL www.envisagemedia.in/EMDesktop.msi 
Or download the product from our website <a href="http://www.envisagemedia.in" target="_blank" style="text-decoration:none">www.envisagemedia.in</a> (Product page)
<br />
<br />
<font color="#FF0000"><strong>Step 2: </strong></font>Run the setup file while double clicking on it.
<br />
<br />
<font color="#FF0000"><strong>Step 3:</strong></font> Fill your caf&ecirc; ID which will when the installation is in progress. As shown below:
<br />
<br />
<img src="http://www.emmgts.com/images/img1.jpg" alt="" width="448" height="371" /><br />
<br />
As the installation process will end.<br />
<br />
<font color="#FF0000"><strong>Step 4:</strong></font> Log off your PC once and then login.<br />
<br />
You will find EMDesktop will be running on your desktop screen
Also, please update your contact details with our tele-caller so we can keep you updated.
<br />
<br />
<br />
Warm Regards,<br /> 
Team - <strong><font color="#3277d9"> Envisage Media Pvt. Ltd</font><br />
</strong>
Office Phone: 011-46027732 
<br />
Mobile: +91-9582111906<br /> 
90/27A Malviya Nagar,
New Delhi - 110017
<br />

</div>
    </Div>
  </div>
</div>

<p><img src="http://www.emmgts.com/classes/mail/background.gif" width="1024" height="6" /><img src="http://www.emmgts.com/classes/mail/4.jpg" width="137" height="40" /></p> ';
    $mail->setHTML($html_msg);
    $mail->setReceipt('*****@*****.**');
    $mail->addEmbeddedImage(new fileEmbeddedImage('../classes/mail/background.gif'));
    $mail->addEmbeddedImage(new fileEmbeddedImage('../classes/mail/4.jpg'));
    $mail_envi = '*****@*****.**';
    $result = $mail->send(array($email, $mail_envi, '*****@*****.**', '*****@*****.**'));
    return $result;
}