Method of exchanging digital messages from an author to one or more recipients.

learn more… | top users | synonyms (3)

3
votes
1answer
48 views

Asking the user to input a proper email address

The purpose of this code is to ask the user to input an email address but it must contain "@" and ".co". The code works but it is too long so I would like to know if there is any way to shorten it ...
6
votes
2answers
123 views

Using SendAsync to send multiple emails

My method for sending emails with Send() is getting very slow when I send more than ten messages. Sample 1 (1 sec) 2 (2 sec) 3 (4 sec) 4 (8 sec) ...
0
votes
0answers
72 views

Mail merge with attachments and cc for MS Word

I am very new to coding and really started a few weeks ago for a new job I have. out of necessity, I am slowly learning VBA (which I can't say is very easy...) I started by recording macros in Excel ...
4
votes
1answer
450 views

Verifying user accounts on SMTP servers

I've been writing a basic script to enumerate SMTP users (via a user dictionary) on poorly configured SMTP servers. In scripts like this, I usually see arguments handled as follows: ...
3
votes
1answer
32 views

Nagios service alert HTML email builder

I have a well functioning Nagios Core system set up. I wanted to make our alerts both easier to read pertinent information quickly as well as provide additional details from custom host and service ...
5
votes
1answer
87 views

Send multiple individualised emails via a limited number of SMTP clients

This is my first foray into multi-threading, and I'm keen to know if I have fallen into any traps or have room for optimisation/improvement. Example usage: ...
4
votes
1answer
50 views

Email redirection script in python

I am new to python and wrote a email redirect script. It extracts mails from a server and than resend them. I would like to get some feedback: ...
1
vote
0answers
88 views

Email thousands of customers from a PHP form using a MySQLi query on a MySQL database

How can a large internet service provider email certain customers to warn them about an impending service interruption? I'm providing what I think is a reasonable solution, but I have not tested it. ...
2
votes
0answers
43 views

format any mail into readable text

Scope is to throw any mail, html or plain or multipart into this and receive a readable formatted text that deals with special characters and html issues. Field of usage: System that imports mails ...
2
votes
0answers
38 views

Generating email with BCP

This code iterates through the table @Table1 to get the Purchaser, PurchaserID, ...
3
votes
1answer
52 views

Structuring basic client side / serverside email form

I've been more than likely doing this entirely wrong for quite awhile and would like to correct that. With the code review I would like to get critiqued on everything. This includes: JQuery syntax/...
3
votes
2answers
49 views

IMAP Mailbox Daily Average Volume Statistics Generator

Because my job needed something like this, I created a Python script that'll connect to an IMAP server, get all the emails, and then calculate the very rough daily average of emails received to the ...
6
votes
1answer
95 views

Reddit bot that posts text messages to subreddit

This is the first program I've ever made in Python, and I never really studied the language (just looked at bits of code online) so I'm sure the performance is less than optimal. The Objective: At my ...
2
votes
2answers
352 views

PHP contact form using PHPMailer and Google Recaptcha

My company is designing a new site, and because I'm currently on bench I've been tasked with writing any PHP required. Pretty simple stuff, just a contact form and a resume upload page, both using a ...
4
votes
1answer
185 views

Script to send push notifications using email, Pushbullet, or Pushover

I have built a tiny script to send out push notifications. I would be glad to receive general suggestions / feedback. My main problem is that the only security offered is coming from the OS ...
1
vote
1answer
26 views

Simple Python Old Email Eraser From Inbox

This is a old email eraser that deletes old unwanted email from your gmail or yahoo inbox, cause guys really we all had the nightmare of selecting and deleting 50 old emails at a time when their are ...
1
vote
2answers
97 views

Sending email using libcurl - follow-up 2

This question is a continuation of: Sending email using libcurl - follow-up Does this code have any problems? Can I improve it? ...
9
votes
2answers
748 views

Telling me what lesson I have tomorrow and emailing me the results

This program tells me what lessons I have tomorrow then emails them to me. This program works fine, but I was wondering whether there is a way to simplify the script or make it more efficient. I have ...
3
votes
1answer
124 views

Sending email using libcurl - follow-up

This question is continuation of: Sending email using libcurl I developed a class to send email. Does this code have any problems? Is it thread-safe? ...
2
votes
1answer
296 views

Simple email validation script

I was doing a programming challenge and the object was to validate an email address, I wrote a simple little email validator and would like some input on how I can make it more efficient. How it ...
2
votes
2answers
326 views

Sending email using libcurl

I developed a function to send email based on this. Does this code have problems? Also, I'm not sure if this code is thread-safe because of the global payloadText ...
3
votes
1answer
87 views

Validating email confirmation and sending different emails to admins

I wrote a method that will confirm email with token send to user emails. It will also send different email depending on the condition for the registered user. If anyone would write the same method, ...
6
votes
1answer
174 views

Emails, emails everywhere

My job entails me to send a lot of emails. I'm really bad at typing so I decided to create a program to do it for me. I've created an email generation tool (originally posted here.) I've changed ...
4
votes
1answer
35 views

Yum Notification Script

This is a Bash script I wrote to email me when updates are available for my server. I'm new to bash programming, so I don't know if I've done this well. ...
5
votes
2answers
125 views

Task Parallel Library and Mailkit

I have a use case where I need to process about 80,000 emails per day. The client has an existing process that takes about 1/sec per email and is running out of time before the next batch comes in. ...
7
votes
1answer
56 views
6
votes
2answers
160 views

Counting senders in a mailbox

I'm learning Python from Coursera and am doing a class. One of the assignments is as follows: Write a program to read through the mbox-short.txt and figure out who has the sent the greatest number ...
1
vote
0answers
64 views

Mail service implementation using Razor engine a MailMessage

This is a very basic Mailer service that I put together after finding out that MVC Mailer doesn't play nice with MVC 5. ...
3
votes
0answers
38 views

Fluid HTML email template

I created this as a template for our email marketing team to use when creating emails. For fluid/responsive behavior, I am using max-width and conditionals for clients that do not support it (e.g., ...
4
votes
1answer
44 views

Babysitting a server reboot

I'm looking to improve a loop within a script that performs scheduled server restarts. Currently, I'm using a DO While loop with an exit condition within an IF statement once a counter reaches a ...
4
votes
1answer
217 views

Custom Python 'Server Status Checker'

I've written a home-grown solution for checking the status of my servers. This is both an exercise for me in learning further about Python, but it's also critical to status-checking critical things ...
6
votes
2answers
379 views

C# helper class - mailto

I'm looking for input, advice, criticism. This is my first helper class. While use of mailto URLs should most often be trivial, I have a real world need to send to multiple recipients and with a body ...
1
vote
1answer
94 views

Validating Email Addresses without DB

I wanted to put this out here and see if there were any security vulnerabilities that I'm not seeing. Also, if I can improve performance without sacrificing security, that's always a plus. Thanks in ...
4
votes
1answer
77 views

Command line based email generation tool

Unfortunately due to my job I will have to leave out some of the information that is created by this generator, however I will be replacing it with another string of information. I have created an ...
8
votes
2answers
254 views

Can I stop validating email addresses now please?

Writing code to validate emails is a thing I don't like. It's usually pretty pointless as there's there is actually no right solution, so it leaves me with a certain sense of existential dread. I've ...
7
votes
3answers
557 views

C# SMTP notifier client

I've come from a PHP background and I'm really trying to unlearn the bad habits I acquired from not doing things properly with PHP through my own lack of understanding.. I'm looking to advance my ...
0
votes
1answer
109 views

Context manager for SMTP connections

My code right now look like this ...
3
votes
0answers
87 views

Using the visitor pattern to compose notifications

I'm solving the following problem using the Visitor design pattern in Swift: When a quote is requested or an appointment is booked we send out an email to the customer, and build an internal ...
1
vote
2answers
73 views

Two classes to validate and store an e-mail address

I'm trying to improve my limited knowledge in PHP (7) and I wrote these two simple classes as a proof of concept. They both have just one (private) property ->email and they run validation before ...
3
votes
1answer
157 views

Validating e-mail address input in C

I have this little function to validate e-mail. It's a little piece of code to search major mistakes in e-mail input and it's part of a bigger program I have to complete as a school assignment. Is ...
3
votes
2answers
138 views

Queuing e-mail notifications in a background thread

I'm new to parallel programming concepts. I'm trying to implement fire-and-forgot kind of method in my project. Somebody please evaluate the below code & let me whether this is thread safe or not. ...
1
vote
0answers
80 views

Email text parser

I am writing a parser to parse out the fields of an email message in the following format (note that I expect that the "To:" field could contain multiple lines, same with the "Subject:" field. ...
2
votes
1answer
64 views

Program to email you exchange rates that you are tracking and stats on them

This is a program I made as I am currently living in Japan with a British bank account, so exchange rates matter to me. On the first time run, you run the script with two arguments (two currencies) ...
12
votes
5answers
1k views

Replace many Outlook email rules with a script

I as well as several of my colleagues have had an ongoing problem where we get bombarded with hundreds if not thousands of emails each day with come from automated services, such as SQL DBmail and ...
3
votes
1answer
32 views

XHTML input for PHPmailer

I have used PHPmailer to send email to users upon registering to the site. Now, everything works as should, however, I find myself doing painstaking work adding the HTML elements in. Here's an ...
0
votes
0answers
250 views

Email a notification when detecting changes on a website - follow-up

I read through other questions here and improved the code and added a new feature. The old question can be found at: Email a notification when detecting changes on a website The improvements that are ...
5
votes
3answers
1k views

Email a notification when detecting changes on a website

The text of a website is checked in a given time period. If there are any changes a mail is sent. There is a option to show/mail the new parts in the website. What could be improved? ...
3
votes
1answer
227 views

Simple Notification class that models database

I'm updating a website I made awhile ago from a functional design to an OOP design. There are still a lot of functions below this class that I haven't implemented yet but I'm getting to it (such as <...
1
vote
1answer
190 views

Rake task to send users a reminder to post with conditions

I am implementing a feature that reminds users to make a post via email if the user has set daily reminders to true he has not posted yet today and if the current hour matches when he would like to ...
3
votes
2answers
197 views

Submitting an HTML form, adding submission to database and emailing the client and registrant

I have been asked to make a registration form that will add a users details to a database, create a registration code, then email the registrant and client the details including the registration code. ...