Sunday, October 5, 2014

Install PHPMailer 5.2.4 and use smtp gmail




1) PHPMailer download
https://code.google.com/a/apache-extras.org/p/phpmailer/downloads/list
I download PHPMailer_5.2.4.zip and use winrar to unzip and put it in
C:\xampp\htdocs\phpmailertest

2)Configuration php.ini to enable openssl
In C:\xampp\php\php.ini
extension=php_openssl.dll
 If not, you may get the following message:
"SMTP -> ERROR: Failed to connect to server:
 Unable to find the socket transport "ssl" -
 did you forget to enable it when you configured PHP? (1909703479) "

3) Restart Apache

4) Create index.php under  C:\xampp\htdocs\phpmailertest. The red code below is import for using gmail as SMTP.  Change jiansentest and mypassword to your gmail account and password.
<?php
error_reporting(E_ALL);
require("PHPMailer_5.2.4/class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP(); // set mailer to use SMTP
$mail->SMTPDebug  = 2;
$mail->From = "jiansentest@gmail.com";
$mail->FromName = "Jiansen";
$mail->Host = "smtp.gmail.com"; // specif smtp server
$mail->SMTPSecure= "ssl"; // Used instead of TLS when only POP mail is selected
$mail->Port = 465; // Used instead of 587 when only POP mail is selected
$mail->SMTPAuth = true;
$mail->Username = "jiansentest@gmail.com"; // SMTP username
$mail->Password = "mypassword"; // SMTP password

$mail->AddAddress("jiansenreceive@gmail.com", "Jiansen"); //replace myname and mypassword to yours
$mail->AddReplyTo("jiansentest@gmail.com", "Jiansen");
$mail->WordWrap = 50; // set word wrap
//$mail->AddAttachment("c:\\temp\\js-bak.sql"); // add attachments
//$mail->AddAttachment("c:/temp/11-10-00.zip");

$mail->IsHTML(true); // set email format to HTML
$mail->Subject = 'test';
$mail->Body = 'test';

if($mail->Send()) {echo "Send mail successfully";}
else {echo "Send mail fail";}

?>
5) Run
 http://localhost/phpmailertest/
We got
SMTP -> FROM SERVER:220 mx.google.com ESMTP uf6sm10363353pac.16 - gsmtp
SMTP -> FROM SERVER: 250-mx.google.com at your service, [207.81.4.41] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8
SMTP -> FROM SERVER:250 2.1.0 OK uf6sm10363353pac.16 - gsmtp
SMTP -> FROM SERVER:250 2.1.5 OK uf6sm10363353pac.16 - gsmtp
SMTP -> FROM SERVER:354 Go ahead uf6sm10363353pac.16 - gsmtp
SMTP -> FROM SERVER:250 2.0.0 OK 1412491179 uf6sm10363353pac.16 - gsmtp
SMTP -> FROM SERVER:221 2.0.0 closing connection uf6sm10363353pac.16 - gsmtp
Send mail successfully

Video: Install PHPMailer 5.2.4 and use smtp gmail 

20 comments:

  1. Replies

    1. Hello all
      am looking few years that some guys comes into the market
      they called themselves hacker, carder or spammer they rip the
      peoples with different ways and it’s a badly impact to real hacker
      now situation is that peoples doesn’t believe that real hackers and carder scammer exists.
      Anyone want to make deal with me any type am available but first
      I‘ll show the proof that am real then make a deal like

      Available Services

      ..Wire Bank Transfer all over the world

      ..Western Union Transfer all over the world

      ..Credit Cards (USA, UK, AUS, CAN, NZ)

      ..School Grade upgrade / remove Records

      ..Spamming Tool

      ..keyloggers / rats

      ..Social Media recovery

      .. Teaching Hacking / spamming / carding (1/2 hours course)

      discount for re-seller

      Contact: 24/7

      fixitrogers@gmail.com

      Delete
    2. Jiansen Lu'S Computing Blog: Install Phpmailer 5.2.4 And Use Smtp Gmail >>>>> Download Now

      >>>>> Download Full

      Jiansen Lu'S Computing Blog: Install Phpmailer 5.2.4 And Use Smtp Gmail >>>>> Download LINK

      >>>>> Download Now

      Jiansen Lu'S Computing Blog: Install Phpmailer 5.2.4 And Use Smtp Gmail >>>>> Download Full

      >>>>> Download LINK OZ

      Delete

  2. Fatal error: Uncaught Error: Class 'SMTP' not found in C:\xampp\htdocs\mail\PHPMailer-master\class.phpmailer.php:1466 Stack trace: #0 C:\xampp\htdocs\mail\PHPMailer-master\class.phpmailer.php(1549): PHPMailer->getSMTPInstance() #1 C:\xampp\htdocs\mail\PHPMailer-master\class.phpmailer.php(1486): PHPMailer->smtpConnect(Array) #2 C:\xampp\htdocs\mail\PHPMailer-master\class.phpmailer.php(1323): PHPMailer->smtpSend('Date: Tue, 28 J...', 'test\n') #3 C:\xampp\htdocs\mail\PHPMailer-master\class.phpmailer.php(1203): PHPMailer->postSend() #4 C:\xampp\htdocs\mail\PHPMailer-master\email.php(25): PHPMailer->send() #5 {main} thrown in C:\xampp\htdocs\mail\PHPMailer-master\class.phpmailer.php on line 1466



    always saying like this

    ReplyDelete
    Replies
    1. try this'

      require("PHPMailerAutoload.php");//replace 'class.phpmailer.php'

      Delete
  3. plz tell how i solve that problrm

    ReplyDelete
  4. SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (61532184)
    The following From address failed: maaustria16@gmail.com : Called Mail() without being connected Send mail fail

    ReplyDelete
  5. Installing PHPmailer on a server is pretty easy. If you have composer available, you can easily install it using a single composer command. Otherwise you will have extract the files and deploy it in the directory manually.
    Source: how to use phpmailer

    ReplyDelete
  6. no error is showing but mail is not going

    ReplyDelete
  7. how to remove
    SMTP -> FROM SERVER:220 mx.google.com ESMTP uf6sm10363353pac.16 - gsmtp
    SMTP -> FROM SERVER: 250-mx.google.com at your service, [207.81.4.41] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8
    SMTP -> FROM SERVER:250 2.1.0 OK uf6sm10363353pac.16 - gsmtp
    SMTP -> FROM SERVER:250 2.1.5 OK uf6sm10363353pac.16 - gsmtp
    SMTP -> FROM SERVER:354 Go ahead uf6sm10363353pac.16 - gsmtp
    SMTP -> FROM SERVER:250 2.0.0 OK 1412491179 uf6sm10363353pac.16 - gsmtp
    SMTP -> FROM SERVER:221 2.0.0 closing connection uf6sm10363353pac.16 - gsmtp

    ReplyDelete
    Replies
    1. Replace 2 with 0 where it says:
      $mail->SMTPDebug = 2;

      as of

      $mail->SMTPDebug = 0;

      Delete
  8. Hi Clients!

    We have the fresh and valid USA ssn leads and dead fullz
    99% connectivity with quality
    *If you have any trust issue before any deal you may get few to test
    *Every leads are well checked and available 24 hours
    *Fully cooperate with clients

    *Format of Fullz/leads/profiles
    °First & last Name
    °SSN
    °DOB
    °(DRIVING LICENSE NUMBER)
    °ADDRESS
    (ZIP CODE,STATE,CITY)
    °PHONE NUMBER
    °EMAIL ADDRESS
    °REFERENCE DETAILS
    °BANK ACCOUNT DETAILS

    ****Contact Me****
    *ICQ :748957107

    *Gmail :taimoorh944@gmail.com

    Cost for lead cost $2 for each
    Price can be negotiable if order in bulk

    *Contact soon!
    *I hope a long term deal
    *Thank You

    ReplyDelete
  9. Jiansen Lu'S Computing Blog: Install Phpmailer 5.2.4 And Use Smtp Gmail >>>>> Download Now

    >>>>> Download Full

    Jiansen Lu'S Computing Blog: Install Phpmailer 5.2.4 And Use Smtp Gmail >>>>> Download LINK

    >>>>> Download Now

    Jiansen Lu'S Computing Blog: Install Phpmailer 5.2.4 And Use Smtp Gmail >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
  10. My name is Mrs Aisha Mohamed, am a Citizen Of Qatar.Have you been looking for a loan?Do you need an urgent personal loan or business loan?contact Adam Ibrahim Finance Home he help me with a loan of $80,000 some days ago after been scammed of $6,800 from a woman claiming to been a loan lender but i thank God today that i got my loan worth $80,000.Feel free to contact the company for a genuine financial service. Email:adamibrahimfinanceltd1976@gmail.com call/whats-App Contact Number +918119841594 Adam Ibrahim Finance Pvt Ltd

    ReplyDelete
  11. Premium Database
    USA UK CANADA
    We can provide you
    SSN FULLZ
    REAL DLS
    USA Leads
    UK NIN DOB DL ADDRESS
    CANADIAN & GERMANY INFOS
    SIN DOB ADDRESS MMN PHONE
    BUSINESS EIN COMPANY
    DEAD FULLZ
    SWEEP STAKES
    CC WITH CVV
    PAYDAY LEADS
    Verified Email Database HOME OWNER LEADS
    EMPLOYEE Leads
    FOREX DATABASE
    DATA FOR TAX RETURN
    AMAZON
    TUTORIALS
    TOOLS
    For more infos DM
    Telegram:> @Malisa72

    #ssnfullz #realdls #sindob #usafullz #ukfullz #Canada #maga #CC #Leads #coinbase #business #seller

    ReplyDelete
  12. Money Transfers

    bank login

    bank transfer

    writing cheques

    transfer to cc ...

    track 1 and 2 with pin

    Sell Fresh CVV - Western Union Transfer - Bank Login - Card Dumps - Paypal - Ship

    Fresh Cards, Selling Dumps, Cvvs, Fullz

    Tickets,Hotels,Credit card topup...Paypal transfer, Mailer,Smtp,western union login,

    Book Flight Online SSN infos with DL photos in bulk UK NIN data with sort codes Canada SIN data

    SELL CVV GOOD And HACK BIG CVV GOOD Credit Card

    Fresh Cards. Selling Dumps, Cvvs, Fullz.Tickets,Hotels,Credit cards


    Sell Cvv(cc) - Wu Transfer - Card Dumps - Bank login/paypal

    And many more other hacking services

    contact me : Wuhacker@yahoo.com
    Telegram: Vcare524
    Discord: Vcare089

    - I have account paypal with good balance

    - I hope u good customers and will be long-term cooperation


    Prices Western Union Online Transfer


    -Transfer(Eu,Uk,Asia,Canada,Us,France,Germany,Italy and very

    easy to do African)

    - 200$ = 1500$ (MTCN and sender name + country sender)

    - 350$ = 4000$ (MTCN and sender name + country sender)

    - 500$ = 6000$ (MTCN and sender name + country sender)

    - 600$ = 8000$ (MTCN and sender name + country sender)

    Then i will do transfer's for you, After about 30 mins you'll have

    MTCN and sender name + country sender


    - Dumps prices

    - Tracks 1&2 US = 85$ per 1

    - Tracks 1&2 UK = 100$ per 1

    - Tracks 1&2 CA / AU = 110$ per 1

    - Tracks 1&2 EU = 120$ per 1


    Bank Logins Prices US UK CA AU EU


    - Bank Us : ( HALIFAX,BOA,CHASE,Wells Fargo...)

    . Balance 5000$ = 250$

    . Balance 8000$ = 400$

    . Balance 12000$ = 600$

    . Balance 15000$ = 800$

    . Balance 20000$ = 1000$

    - Bank UK : ( LLOYDS TSB,BARCLAYS,Standard Chartered,HSBC...)

    . Balance 5000 GBP = 300 GBP

    . Balance 12000 GBP = 600 GBP

    . Balance 16000 GBP = 700 GBP

    . Balance 20000 GBP = 1000 GBP

    . Balance 30000 GBP = 1200 GBP


    contact me : Wuhacker@yahoo.com
    Telegram: Vcare524
    Discord: Vcare089

    ReplyDelete