Best practice for bulk multi-part mail


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Best practice for bulk multi-part mail
# 1  
Old 12-22-2006
Best practice for bulk multi-part mail

Hi, I am currently building a PHP/MySQL database that handles our offices newsletters. Now everything works great in the alpha with only a few names in the list, but I anticipate that once we fill it up (around 10,000) that this will not work from the PHP. I already have the script echo the emails to a database where I plan to have a cron perl script grab the info and send it to the Mail Transport Agent in chuncks. Now, I am completely new to perl, and it's been awhile since I did any work in unix, so go easy on me. Here are my questions if anyone can help.

I've seen some shell scripts that can send emails pretty easy, but they don't appear to be able to adjust the header information. I need to change, the From, and send as a multi-part text/plain text/html. Is there something I am missing?
Why is it so much harder to cron a php script than perl script for this? (Is it because the shells understand perl better?)
What is the best Perl package for sending multi-part emails? Quickly?
What is the best (free) MTA To use?

Thanks for the time,
_Stephen
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Multi head/multi window hello world

I am trying to write a large X app. I have successfully modified my xorg.conf to setup 4 monitors on an NVIDIA Quatro5200. I am trying to modify a simple hello world application to open a window on three of the four monitors. depending on the changes to loop the window creation section and event... (2 Replies)
Discussion started by: advorak
2 Replies

2. Shell Programming and Scripting

How to zip or rm the multi part named files?

Hello There, There are more than 1000 files in my log folder and i want to zip it to relase the space. But my method throwing syntax error due to the multi part file name, how to overcome in this ? ls -lart | grep "MDB_Kernel11.1_gwlog_SUN 22_09_2013" | awk '{print $9,$10,$11,$12}' | head... (8 Replies)
Discussion started by: gowthamakanthan
8 Replies

3. Shell Programming and Scripting

How to substract selective values in multi row, multi column file (using awk or sed?)

Hi, I have a problem where I need to make this input: nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b look like this output: nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies

4. Shell Programming and Scripting

Retreiving part of a mail ID

Hi all, I want to retrieve a part of the mail ID. Im using Ksh. The mail ID's i handle are of the type: abc.def@ghi.com I want the abc part alone. Here is the code i used: a=`echo $mailid |sed 's/\(.*\)..../\1/'` echo $a but the output i get is abc.def@ghi I dont know... (2 Replies)
Discussion started by: Jayaraman
2 Replies

5. Shell Programming and Scripting

mail file part

hi, i want to send last 10 lines of a file.. How can acheive that. i tried this, but it is not working. mailx -s "$SUBJ" $MAIL_ID < $LOGFILE|tail -10 Can somebody guide me... (2 Replies)
Discussion started by: bang_dba
2 Replies

6. Shell Programming and Scripting

Change part of filenames in a bulk way

Hallo! I have generated lots of data file which all having this format: sp*t1overt2*.txt Now I want to change them in this way: sp*t2overt1*.txt The rest of the file names stay unchanged. I know this is kind of routine action in sed or awk, but dont know how! I tried this command: ... (6 Replies)
Discussion started by: forgi
6 Replies

7. Shell Programming and Scripting

Add color to part of the text in a mail sent from unix script

Hi, We are using KSH. I was able to write a script where a mail is sent to the concerned persons and this is working perfectly file. I need to give a different color to a part of the data in the mail which. The script written is as follows; (echo "From: $REPLY" echo "To: $DLIST" echo... (6 Replies)
Discussion started by: jmathew99
6 Replies

8. UNIX for Dummies Questions & Answers

multi part compressed files

Hi there, not sure if I am in the right place but here is my question. I have a file that is over 100mb and my host does not allow FTP of files above 100mb so I thought I would use a compression utility to compress it into smaller parts say 10mb each, upload them and then re-assemble them on... (7 Replies)
Discussion started by: gffb
7 Replies

9. UNIX for Dummies Questions & Answers

Multi User Multi Task

Dear Experts Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task?? Thanks for your help in... (6 Replies)
Discussion started by: Reza Nazarian
6 Replies

10. UNIX for Dummies Questions & Answers

bulk mail as a background job

I presently use the php function mail() to send to a mailing list with over 5000 recipients. Even with blind copy, I get timed out and the process takes too long. I would like to set the job up as a background job. Can someone help me with the shell code for sending mailing as a background job. (2 Replies)
Discussion started by: HungryH
2 Replies
Login or Register to Ask a Question
MYLOADER(1)							     mydumper							       MYLOADER(1)

NAME
myloader - multi-threaded MySQL loader SYNOPSIS
myloader --directory = /path/to/mydumper/backup [OPTIONS] DESCRIPTION
myloader is a tool used for multi-threaded restoration of mydumper backups. OPTIONS
The myloader tool has several available options: --help Show help text --host, -h Hostname of MySQL server to connect to (default localhost) --user, -u MySQL username with the correct privileges to execute the restoration --password, -p The corresponding password for the MySQL user --port, -P The port for the MySQL connection. Note For localhost TCP connections use 127.0.0.1 for --host. --socket, -S The UNIX domain socket file to use for the connection --threads, -t The number of threads to use for restoring data, default is 4 --version, -V Show the program version and exit --compress-protocol, -C Use client protocol compression for connections to the MySQL server --directory, -d The directory of the mydumper backup to restore --database, -B An alternative database to load the dump into Note For use with single database dumps. When using with multi-database dumps that have duplicate table names in more than one database it may cause errors. Alternatively this scenario may give unpredictable results with --overwrite-tables. --queries-per-transaction, -q Number of INSERT queries to execute per transaction during restore, default is 1000. --overwrite-tables, -o Drop any existing tables when restoring schemas --enable-binlog, -e Log the data loading in the MySQL binary log if enabled (off by default) --verbose, -v The verbosity of messages. 0 = silent, 1 = errors, 2 = warnings, 3 = info. Default is 2. AUTHOR
Andrew Hutchings COPYRIGHT
2011, Andrew Hutchings 0.5.1 June 09, 2012 MYLOADER(1)