History of Indian Independence Day

Image
The history behind Indian independence is very painful and is full of sacrifices. And only because of those sacrifices India freed herself from the shackles of British Empire on 15th August 1947. It was an endless struggle of millions faceless Indians, who made the inhabitants united and fought for the freedom of their own country. The year 1857 is a benchmark in the history of Indian independence. On 29th march 1875, a brave Indian soldier first ever raised his voice against the British Empire and later it resulted to Sepoy Mutiny......

send email with attachment in php

Use the phpmailer class to add attachments

function emailWithAttachment($to, $subject, $message, $attachment) 
{

    $mail = new PHPMailer();

    $mail->AddAddress($to);

    $mail->From         = "your@email.com";
    $mail->FromName     = "Your Name";
    $mail->Subject      = $subject;
    $mail->Body         = $message;

Comments

Popular posts from this blog

Linux Help-Commands

Linux Commands