GMail Bcc message which doesn't reveal that several people get the message
Hello,
I'd like to send some emails to a group of people without them knowing that others got it. I don't want it to be marked "undisclosed recipients" or anything else, but to appear exactly as though each person received an individual email and that nobody else received the same message. Not even a hint of this. Is there a way of doing this in GMail? Is there an alternative way to do this via code? Thanks in advance, rm |
I've never tried to do anything like this. For the Bcc, I don't think so, but you could mass mail a group of people without any of the recipients knowing who else got the message. You could try writing a Bash script with msmtp. The Arch Linux wiki explains how to set it up: https://wiki.archlinux.org/index.php/Msmtp. One working solution would be to use one script to generate the individual messages by cycling though a list of addresses with a for loop, then you would use a second script and another for loop that cycles through all the messages in a directory. Again, I have no experience doing this, so I can't provide any useful information on the details, but it should be possible
|
Many thanks PhoenixAndThor,
BTW, I'm not trying to spam people or anything... It's all in good faith... I'm searching for real estate and need to send the same message to different real estate agents (a dozen or so). They too do similar things... I would need some working code example though... So I am awaiting further response. Many thanks, rm |
Quote:
If you put yours email in the "to:" and all others to bcc, then no one will get "undisclosed recipients". But no matter what you do, expecting email headers will revel to the person that he receive email as bcc. If you want to avoid this too, not only "undisclosed recipients" then only way out that I see is sending different email to each person, as already was suggested by PhoenixAndThor |
Okay, after some green tea in the morning, I'm up for a bit of programmatic spamming (in good faith I hope). The first thing you need to do is set up msmtp or some other command line SMTP client, which is required to actually send the mail. I will assume that you followed the instructions from the Arch Wiki page I linked to (obviously adjusting the installation step for your own distribution) and can now send mail from the console/terminal with your GMail credentials. If you cannot, then make sure that the config file .msmtprc is not readable or writable by anyone else but you:
Code:
chmod 600 ~/.msmtprc After poking at this problem for a while, I thought Perl would be good for this, but I can't remember how to make a Perl script run shell commands, so Bash will have to do. To cut down on weirdness, (missing headers and such) you'll need a script like the following to customize a base message for each agent. This is NOT the final solution, check the output of one of the messages to make sure you're getting what you need. Code:
#!/bin/bash Code:
> $i.txt Code:
| msmtp -a accountName $i |
Quote:
system() http://perldoc.perl.org/functions/system.html backquotes http://perldoc.perl.org/perlop.html#...Like-Operators piped open: http://perldoc.perl.org/IPC/Open2.html & http://perldoc.perl.org/IPC/Open3.html |
Thanks chrism01, very helpful :) Perl isn't really my primary language, I'm more of a Bash junkie. Speaking of which, the OP never told me if the script I wrote helped. Is this solved or not?
|
All times are GMT -5. The time now is 02:08 PM. |