Archive

Posts Tagged ‘gmail’

Google adding more application in Gmail. But it will reduce the performance: Gmail Problems

April 1st, 2009 R Arun Raj No comments

Google Introduces youtube previews ,picasaw…  in gmail labs.

Enable your labs in gmail settings and experience it. I strongly suggest google that please do not add more app on gmail. It will reduce the performance of gmail. It’s facing lot of problems right now . Using Gmail with Internet Explorer is really a tragedy.

Categories: Misk, Projects, email Tags: , ,

Gmail now support multiple file uploading..

March 6th, 2009 R Arun Raj No comments

Gmail now support multiple file uploading feature. It seems to be good and better user interface to display the upload status .Nice one ..it need to be flash player installed on your system

Categories: Misk Tags: , ,

How to send Emails From PHP using PHPMailer

June 8th, 2008 R Arun Raj 2 comments

PHP email transport class featuring file attachments, SMTP servers, CCs, BCCs, HTML messages, word wrap, and more. Sends email via sendmail, PHP mail(), QMail, or with SMTP.

phpmailer_v21download or download it from sourceforge.net

http://sourceforge.net/project/showfiles.php?group_id=26031

put these files in you website root and run the below code to send E mails.

1. class.phpmailer.php

2. class.pop3.php

3. class.smtp.php
<?php
require(“class.phpmailer.php”);
$mail = new phpmailer();
$mail->From     = “info@xyz.com”; //from Email Id
$mail->FromName = “yourname”;  // from name
$mail->Host     = “mail.xyz.com;”; // your websites mail
$mail->Mailer   = “smtp”;

// HTML body
$body  = “Hello <font size=\”4\”>arun</font>, <p>”;
$body .= “<i>Your</i> personal photograph to this message.<p>”;
$body .= “Sincerely, <br>”;
$body .= “phpmailer List manager”;

// Plain text body (for mail clients that cannot read HTML)
$text_body  = “Hello ” . “, \n\n”;
$text_body .= “Your personal photograph to this message.\n\n”;
$text_body .= “Sincerely, \n”;
$text_body .= “phpmailer List manager”;

$mail->Body    = $body;
$mail->AltBody = $text_body;
$mail->AddAddress(‘to@mail.com’,'Arun Raj R’);
$mail->AddStringAttachment(“file”, “YourPhoto.jpg”);

if(!$mail->Send())
echo “There has been a mail error sending to <br>”;

// Clear all addresses and attachments for next loop
$mail->ClearAddresses();
$mail->ClearAttachments();

?>