15
2
Ok, I've looked far and wide for something to take care of this little email project I have.
First, some background: My family has a secret santa every year and I've offered to write a script to randomize who gets gifts for whom. What I'd like to do is send an email letting people know who they'll be getting a gift for but I DON'T want to send the email through my gmail account since I'll be involved in the Secret Santa.
The question: how can I send an email from the command line/a script without having that email stored in my "sent items" in my gmail account (or any other mail account). I think i'd have set up my own smtp server, but I'm really pretty clueless.
1That's a great idea! – SaintWacko – 2012-09-21T19:44:58.810
You will want to keep in mind that if you're not using a SMTP server then there is a chance that you will be sending the email to their Junk/Spam mail. If you are using an SMTP server (local on network) then make sure that your ISP will allow you to host servers behind your internet connection. Many will shut you down (in the US) almost immediately. – kobaltz – 2012-09-21T20:04:09.163
Just make sure everyone knows it's sent from a script. I did this last year, and half of the people immediately sent me a message complaining/rejoicing about who they got. – Dean – 2012-09-21T21:46:21.370