1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linux Mailer Script

Discussion in 'PHP & Perl' started by drhax187, Jul 12, 2015.

  1. drhax187

    drhax187 Newbie

    Joined:
    Jul 12, 2015
    Messages:
    5
    Likes Received:
    0
    Occupation:
    Coder, programmer,
    Location:
    Philippines
    I have a friend that send out mass
    emails using linux but he couldn't
    tell me how it's been done, i tried
    many ways to ask him but still can't
    tell me, here is my question....:cow04:


    1. Any script for sending mass HTML letters from linux
    2. Does i need something like putty or dedicated servers
    3. how to use the whole server as mail server and send from main user




    thanks ;)
     
  2. dineshag

    dineshag Newbie

    Joined:
    Jul 10, 2015
    Messages:
    14
    Likes Received:
    0
    You can signup for services like mailgun or mandrill to send bulk emails. If you don't know anything about programming then you can use mailchimp. Sending emails from a new IP will likely land in spam box. If you are spamming you will need to warm up your IP first.
     
  3. SamWest

    SamWest Newbie

    Joined:
    Jun 3, 2015
    Messages:
    1
    Likes Received:
    1
    I have a solution for you and is free.

    install phplist on your hosting website, in cpanel you probably have the installer ready for use (hostgator have it)

    After that you must make a mandrill account, setup dns in your web hosting service.

    And you can send for free 12000 email month.

    If you don't have a Hosting website things are more complicate
    1) install linux os on your pc
    2) install Lampp (is a virtual server) on your linux pc
    3) install phplist on your pc
    4) make mandrill account

    you must setup your DNS in mandirll with your email service, I don't know if is possible, check online before

    after that you can run your marketing campaign with phplist after setup it is simply to use.

    Hope I was helpfull
     
    • Thanks Thanks x 1
  4. shaggy93

    shaggy93 Senior Member

    Joined:
    Dec 23, 2010
    Messages:
    1,030
    Likes Received:
    449
    Location:
    0.0.0.0
    1. Any script for sending mass HTML letters from linux
    PHPmailer.

    2. Does i need something like putty or dedicated servers
    No, a small VPS will do fine.

    3. how to use the whole server as mail server and send from main user

    Interspire.com, you can use the nulled version of it.

    But, email is not that easy. If you exceed bounce rate greater than 5%, your account will be terminated from most of the vps companies.
     
  5. ekapek

    ekapek Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 2, 2010
    Messages:
    266
    Likes Received:
    47
    Home Page:
    So it will be good to use bulletproof server which allow mass mailing without restrictions, but blocking IP on external lists will be next problem
     
  6. Dennis Wyatt

    Dennis Wyatt Newbie

    Joined:
    Feb 3, 2017
    Messages:
    48
    Likes Received:
    3
    Gender:
    Male
    Add me on Skype Dennis.wyattt001 for private chat or leave me your ownbskype
     
  7. kekidze

    kekidze Newbie

    Joined:
    Mar 5, 2017
    Messages:
    3
    Likes Received:
    2
    Gender:
    Male
    That's easy. Install debian on VirtualBox (you can download complete VB image from osboxes site). Then install postifix (use command: apt-get install postfix (or "apt-get install sendmail" I don't remember). After complete installation of SMTP server you should install perl module (cpan -i Mail::Sender). So you can send any message from your PC with ANY sender's address.
    Save this perl script and start it with "perl filenameyougaveforthisfile.**":
    #!perl -w
    use Mail::Sendmail;
    use strict;
    print "Enter sender's address:";
    my $from = <STDIN>;
    print "Enter recipient's address:";
    my $to = <STDIN>;
    print "Enter your message:";
    my $message = <STDIN>;
    my %mail = ( To => $to,
    From => $from,
    Message => $message
    );

    sendmail(%mail) or die $Mail::Sendmail::error;

    print "OK. Log says:\n", $Mail::Sendmail::log;
    #End of file
    Using this script you can send message from any address. So you can joke on your friends saying that you hacked any mailbox. (5-10 years ago that was common fraud when you say that you'll hack any mailbox and they should pay you only when you'll proof that you hacked it by writing message from target's mailbox).
    If you need to send html. You need to: 1. open file (open FILE, "<", "filename"). 2. Encode it to base64 (use MIME::base64). 3. and add to mail header information that you sent base64 encoded mail. Do it yourself please.
    As I know you'll be banned after mass e-mail sending on receiving mail servers. That's reason why spammers use botnets.


    P.S. Sorry for my clear accent without English.