Questions tagged [email]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
463 views

Get value from an async function in Outlook Web Addin [closed]

I'm working on an Outlook Web Addin that gets the email body. So in the Office API you could get the email body in two types: Simple Text and Html. Our requirement is to get the HTML format so this ...
4
votes
1answer
1k views

Retrieving mail attachments given criteria with VBA

Scenario: I (together with great help from SO) finished this piece of code which downloads attachments from an e-mail account (outlook) with VBA. Issue: Given the internal functioning of the code, ...
1
vote
1answer
156 views

Extract attachment between MIME boundary markers

I am trying to extract invoice which is surrounded between a boundary keyword in groovy, in the below example boudary key word is a92720f5836d4daaa4251e805cba228b ...
2
votes
1answer
215 views

Subscribe to a newsletter with e-mail validation

This is my first unit testing and also my first React project. I'm coming from an AngularJS background, but in terms of testing, this is my first try. I spent some time reading about tests and I got ...
6
votes
1answer
1k views

Perl script to check disk usage and report via email

Due to lack of central configuration management I am avoiding any Perl modules which would need to be installed on each of a great many servers. Result is more code than would normally be required in ...
1
vote
1answer
85 views

Sending email notifications, each to a different set of subscribers

Here is a code which sends email notification on new comments. ...
2
votes
1answer
855 views

Composing an HTML email body in PHP swiftmailer

The following code is what I'm using to send a password reset email. The specific part I'm referring to is how I'm setting $message. Would there be a cleaner way to ...
3
votes
1answer
67 views

Email finding bot

I'm working on a lead generation bot that helps you find the emails of people you want to reach out to. The bot grabs your spreadsheet from gdrive, logs into several email finding tools, and collect ...
4
votes
2answers
217 views

UnitOfWork for sending mail

Topic is about a LoB web application written in C# for ASP.Net Core. We're following the blue book DDD architecture. We're using SimpleInjector as dependency injection container. Every request opens a ...
5
votes
1answer
161 views

Email Controller

I'm developing a Social Engineering Awareness Training Application. This is the focus of my thesis for my undergraduate degree. This will be a multi-part review request, however, if you want to see ...
1
vote
1answer
102 views

Using JavaScript callback to conditionally send email

I have an app where users at some point select the amount of tasks they have completed. If they have only completed 3 or less then 3 tasks then I send an email to the system admin to inform them. But ...
5
votes
4answers
4k 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 ...
7
votes
2answers
13k 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) ...
1
vote
0answers
2k 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
868 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: ...
4
votes
1answer
417 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 ...
6
votes
1answer
608 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: ...
5
votes
1answer
353 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
175 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
451 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
88 views

Generating email with BCP

This code iterates through the table @Table1 to get the Purchaser, PurchaserID, ...
2
votes
1answer
62 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
422 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
188 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 ...
3
votes
2answers
6k 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 ...
8
votes
1answer
2k 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
750 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
467 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
792 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
965 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? ...
3
votes
1answer
11k 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 ...
3
votes
2answers
6k 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
693 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
203 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
64 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
684 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. ...
8
votes
1answer
98 views

Mail utility class for use with Flask

...
6
votes
2answers
1k 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
249 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
82 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
51 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
5k 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
2k 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
130 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
81 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 ...
10
votes
2answers
757 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
713 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
433 views

Context manager for SMTP connections

My code right now look like this ...
3
votes
0answers
175 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
82 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 ...