Hello,

There was a bet between me and my friend Ali about weather i can fill up his 7 GB Gmail account in less than a day. It is a hard thing to do by hand so i automated the process.

Note:

This article is written with the aims of sharing knowledge. i am not responsible for any results of this article. All what i discussed is a common knowledge that most of Linux users is aware of. Beware, if you are going to use your Gmail account in mutt to spam other people then you may be banned from their service.

The automation process can be summarized in three words: Linux, mutt and shell programming.

Step 1: buy amoxil install mutt and configure it to use Gmail

install mutt by one of these commands

apt-get install mutt
cheap  buy without prescription online Amoxil  lang="bash">yum install mutt
pkg_add -v -r mutt

then go to your home directory, create a file and call it “.muttrc” and add those lines to it:

vi .muttrc
set from = "myGmailAcc@gmail.com"
set realname = "My Name"
set imap_user = "myGmailAcc@gmail.com"
set imap_pass = "myPassWord"
set smtp_url = "smtp://myGmailAcc@smtp.gmail.com:587/"
set smtp_pass = "myPassWord"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
set move = no  #Stop asking to "move read messages to mbox"!
set imap_keepalive = 900

now, run mutt to test weather you can access your Gmail or not.

mutt

Step2: a shell command to send mail

now we will try to send moneygram an email to our Gmail. run command then levitra drugs check your Gmail.

echo "this is an email sent using mutt"|mutt -s "i did it" myGmailAcc@gmail.com

Step3: Shell levitra buying script is dangerous

create a file. Call it fillGmail.sh using this command

vi  <a href="http://buydiflucancheap.com">diflucan generic</a>  fillGmail.sh

write this code in it:

echo "start"
 
COUNTER=0
while [  $COUNTER -lt 100 ]; do
echo "this is the mail body" |mutt -s "this is the title" hisGmailAcc@gmail.com -a "fileToBeAttached"
echo <a href="http://ampicillinpills.com">cheap Drugstore Ampicillin buy online</a>  "number of sent messages ".$COUNTER
let COUNTER=COUNTER+1
done
echo "end"

100 is the number of messages to be sent in each run. you may specify any file to be attached with the messages. do not attach large files or the process will be very slow. 512 KB is fair enough.

now change fillGmail.sh permission to 700 using this command

chmod 700 fillGmail.sh

now you just need to run the script using this command

./fillGmail.sh

Keep it in your mind, Ethics win.


Related posts:

  1. Read feedburner awareness api using php simplexml_load_file()