Batch sending a large number of emails by Perl
Submitted by yoi on Sat, 01/16/2010 - 00:36I occasionally help my friends who are running a company regularly dealing with hundreds of customers. Sending multiple emails based on a single sending list requires a kind of batch email construction and sending. In this article, I introduce a Perl script approach to accomplish that kind of tasks.
For an introduction to sending an email from the command line by Perl, see this previous article.
Here is an index to this article:
Sending an email from command line by a Perl script
Submitted by yoi on Thu, 01/14/2010 - 20:52With the ability to send emails in the command line, we can imagine that some more practical tasks become feasible:
- Hooking it up to CGI applications or cron to send status reports, alerts, etc.
- Composing dynamically formatted emails and sending them to a large number of people in a sending list.
Installing a LAMP server stack instantly using tasksel
Submitted by yoi on Mon, 12/28/2009 - 17:35When beginning a web development in Ubuntu, a LAMP server setup with
- Linux: an operating system,
- Apache: a web server program,
- MySQL: a database program,
- PHP: a web development language.
Non-graphical login without gdm and starting IceWM
Submitted by yoi on Sun, 12/27/2009 - 01:03When booting Ubuntu (currently 9.10 Desktop Edition) on my Eee PC, my requirements are
- Do not start X Window System automatically (i.e. suppress gdm),
- Start IceWM session from console using
startxcommand manually.
Creating a zip file of a directory in command line
Submitted by yoi on Wed, 12/23/2009 - 19:32What is the ideal compressed file format when distributing multiple files (e.g. via email) with reasonable compression to your friends? I think creating a zip file is one of the most reasonable choice over other possible formats such as .tgz, or .rar etc. This is because zip is, I believe, the most widely supported compressed file format including in Windows.
To create a zip file for a directory mydir in command line, you may do
$ zip -r mydir.zip mydir
Connecting Ubuntu to wireless networks from the command line
Submitted by yoi on Sun, 12/20/2009 - 00:26I usually use Linux with IceWM window manager without Gnome nor KDE desktop environments, where I have to manually connect to wireless networks using console commands. Here, I show how I do it. This tip should be also useful if you are working under non-graphical session and needing a wireless network connection, such as in case of headless servers or embedded systems.
Method
First, check our wireless interface name and access points:
$ sudo iwlist scan ra0 Scan completed :
- « first
- ‹ previous
- 1
- 2
- 3
