Yan Huang (me) explains the way he automates his process of gaining leads from Craigslist, using PHP/SMTP and Gmail to do so. The Craigslist URL is pasted into the Craigslist API that we developed, and the output is a datafile in CSV format. This server does the parsing of Craigslist pages, and strips out the titles, and emails. The other part of the application takes in this CSV file and parses it. Each line of the CSV file is entered into a loop, and for each loop cycle, the PHP connects to an SMTP Adapter, which connects to Google Mail (Gmail), and sends out an email. The reason for using Gmail instead of sending it via our own servers is because Craigslist will ban our server’s IPs, but they will not ban Google’s IPs. The only flaw is only 57 emails can be sent until Craigslist won’t allow you to send for 24 hours. However, incremental process is being made to overcome this obsticle.
RSS feed for comments on this post · TrackBack URI
Leave a reply