Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-03-2008, 09:58 PM
|
#1
|
Member
Registered: Jul 2003
Posts: 256
Rep:
|
Using BCC for an email distribution list is unprofessional - alternatives?
The popular convention for emailing a group without revealing their email addresses is to list everyone in the BCC field, and then for the author to enter their own email address on the TO field (even though the author probably already keeps a copy of what they send). It's a hack.
I need to come up with something better. I want each recipient to find their own email address exclusively on the TO field - just as it does when a well-configured automated sender distributes a message.
There are several problems with the BCC approach. I won't name them all.. but BCC is not always truly "blind". That's a big issue. Furthermore it looks unprofessional, and tips the reader off that the message is not personal (which is undesirable in some circumstances; and other times I prefer to mention what group I'm mailing in the body, eg. "this message is going out to recruiters I've worked with in the past").
As a recipient of BCC distribution lists, it drives me nuts, because procmail scoring and filtering is heavily dependent on which of my email addresses was used - causing improper filtering.
So other than creating a private google group for each distro list, what's a good way to do this on my own server? My outbound mail goes from mutt to postfix (locally), and postfix relays the message either directly, or via my ISP.
|
|
|
04-04-2008, 03:11 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
One way could be to put all the contacts in a MySQL table and have a PHP script automatically send the messages.
Here's an example I put together, based on this example:
PHP Code:
<?php
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From: $from";
$result = mysql_query("SELECT * FROM Contacts");
while($row = mysql_fetch_array($result))
{
$to = $row['Email'];
mail($to,$subject,$message,$headers);
echo "Mail sent to " . $to;
}
?>
Last edited by win32sux; 04-04-2008 at 03:39 PM.
|
|
|
04-04-2008, 03:42 PM
|
#3
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Try using majodomo or similar (I use this for list mailouts from work). Don't kid yourself that you'll make a bulk mailout look personal though
Rgds
|
|
|
04-04-2008, 04:05 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Someone should write a Thunderbird extension that does this sort of thing.
|
|
|
All times are GMT -5. The time now is 06:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|