Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [email]

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

1
vote
1answer
46 views

ASP.net service that sends email whenever an entity is updated [on hold]

I have an ASP.net MVC5 project which involve different domain services, and one of it are EmailService which will send email if entity is updated. ...
0
votes
0answers
25 views

Gmail API list messages NodeJS

I use the following code to list and trash messages from the Gmail API in NodeJS. I call the getAllMessages method to get all email bodies because the Gmail API ...
2
votes
0answers
36 views

PHP - Saving inbound email and its attachment

I have below code, which is basically handling inbound emails in my application, save the actual email content (text + attachments) to my database, and further save the actual attachment file on my ...
8
votes
3answers
527 views

Bash script to truncate subject line of incoming email

I'm going to put this script into production in a mail server /etc/aliases file: we have a system that receives email but the subject line must be limited to a certain size. The proposed usage in the ...
0
votes
0answers
47 views

Shopping list sent by email using Python 3

This script sends the user's shopping list to the recipient's email address. Maybe you can help me correct some mistakes. ...
1
vote
0answers
57 views

Outlook email rules and attachment downloader in Python

I wrote this script to replace a VBA script for mailbox management that was in place before. Essentially, I have an Excel sheet in which the rules are defined. These have to be loaded and applied to ...
5
votes
2answers
69 views

PHP password-resetting page

I am producing a PHP code and I want to implement it in my server to do its function. My question is, are there any vulnerabilities that I should correct? I tried to establish the session first then ...
4
votes
2answers
483 views

Shopping List program

This is a shopping list program made in Python 3 and it will send the list by email. I am not very experienced but I consider this program as a starting point to what I will do next. ...
1
vote
1answer
37 views

Database as a config and class structure to call it

I have question regarding best practices. I've decided instead having config inside either app.config or xml file to have my config file inside SQLite file database. This config will contain basic ...
1
vote
1answer
301 views

SSMTP configuration in Ubuntu 18.04 with Bash in my own system (one user)

This is how I configure the utility SSMTP that allows me to send mail via smtp protocol through a Google-Gmail proxy instead I'll have to manually configure an "...
2
votes
1answer
103 views

Trimming email address to hide the name

I am looking to hide an email id name, by only showing first 4 letters of the email. The code works fine. Looking for opinion if I could make it better, more readable and maybe even more efficient if ...
6
votes
1answer
1k views

Python program that obfuscates an email address

I decided to resume my (limited) Python skills after not coding for a long time. Here's a very simple self-contained program to convert the characters of an email address into their HTML entities (...
2
votes
0answers
61 views

GUI and Powershell script to manage mail accounts [closed]

I've written this rather cumbersome PowerShell script that facilitates a business use case. Because I built it off a PowerShell auditing tool I made, it was formatted differently. What I'd like to do,...
2
votes
1answer
142 views

PHP contact form script

I have created a contact form that originally did not have any mechanism for sending out the email with whatever the user inputted in the fields. I have added it in here along with ReCaptcha check. I ...
2
votes
0answers
58 views

An asynchronous solution to send validation email [closed]

I intend to send validating message to User's email to complete a registration with the following codes: ...
-2
votes
1answer
76 views

My code is contain some vulnerabilities, how can i correct it and make it better

My code works well, but i still don't think it is well written. Can someone help to improve the code so as to get rid of vulnerabilities. My php code: ...
3
votes
1answer
617 views

Notification system

I would like to implement a mail notification system Notification.cs ...
1
vote
2answers
72 views

PHP email script

This is my first OOP script, a PHP email script designed for a site I'm working on: ndkutz(.)net. I want a user to be able to send an email to the barbershop owner from the website. I'm self taught ...
4
votes
0answers
5k views

(Python) Use IMAP lib to download attachments and email details

This is my first approach to programming in Python, so I hope you will "destroy" my coding! Idea is to use SSL connection to my mailbox and use IMAP to download attachments from emails with ...
5
votes
2answers
120 views

Middleware for sending PartialViews via email

After all partial views are rendered and all styles are inlined my RESTful service is sending them via email. I implemented this feature with a MailerMiddleware. ...
8
votes
1answer
272 views

Wrapper around Python's poplib.POP3 and poplib.POP3_SSL

From time to time I use Python's poplib module to inspect/manipulate POP3 mailboxes, often interactively. I find the interface very cumbersome however, so I decided to try to make a wrapper that's ...
1
vote
2answers
912 views

Building a simple php Mail class

I am relatively new to OOP. I have an application that requires to send some emails from the server for various use cases. I have moved my code into a Mail class to try to abstract this out. Coming ...
24
votes
2answers
2k views

Send daily email alerts of the Bitcoin Price

My script sends daily alerts of the bitcoin price to my inbox. I am using CoinDesks API, and the following libraries: requests==2.18.4 schedule==0.5.0 and gmail sender: https://github.com/...
5
votes
2answers
116 views

Status Report sending using python

I used this script to sending status report to my team lead. It will read the status from the file Readme.md. Here i already wrote my status. if this script execute on target_time or greater than it ...
7
votes
1answer
945 views

Sending text and HTML email using smtplib & MIMEText

While the following code works, it looks like trash. Furthermore, there are even more templates that I need to add. Before I continue I should like to know what I can do to fix or improve the ...
3
votes
0answers
461 views

Decoder for Content-Transfer-Encoding and Quoted-printable

Below are two utility functions I have written to help decode email messages in Mbox format. decodeTransfer decodes the message according to the Content-Transfer-...
7
votes
1answer
85 views

Email processor for DMARC - Take in an email message, output DMARC-compliant message

NOTE: This is for Python 2.7 currently, NOT Python 3. There's some type of black magic at work for Content Disposition that doesn't properly work on Py3, so I have to fix that first before I have a ...
2
votes
1answer
535 views

Automatically Sending an Email based on a Google Sheet's cell value

Would love some feedback on how to improve my code. It might not be as readable as I'd like in places, but it currently works. Note that this code will be adapted to work on a different spreadsheet, ...
6
votes
2answers
102 views

Quick email program using Python classes

I've just learned about using classes and I have this constant feeling that I'm just writing things inefficiently or wrong. Could I get some advise on this quick "email" program? How would you have ...
2
votes
1answer
244 views

Beginner Node.js app using Heroku w/ Mailchimp API

I'd like some feedback on the readability and style of the following code. It's a simple Node.js app that uses the Mailchimp API to add emails to a list. The client side handles SVGs, sign-up ...
5
votes
2answers
180 views

Python 2/3 `imaplib` extension library, `imaplibext`

Back again for more punishment improvement advice. Basically, stemming from my dislike of how standard imaplib.IMAP4 mailbox interaction commands functioned, I ...
6
votes
2answers
416 views

Automatic Email Script/Program for fictional e-store C#

This is a fictional email sending program for a e-store I've done for practice purposes. EmailSenderProgram is a program sending emails to customers. Currently it sends two types of email: "welcome" ...
2
votes
1answer
87 views

Mailsending application for e-store

This is a fictional email sending program for a e-store I've done for practice purposes. EmailSenderProgram is a program sending emails to customers. Currently it sends two types of email: "welcome" ...
3
votes
1answer
495 views

E-store automatic email send, to be run daily

This is a fictional email sending program for a e-store I've done for practice purposes. EmailSenderProgram is a program sending emails to customers. Currently it ...
2
votes
1answer
45 views

C program to “monitor” NGINX status with AF_INET

I'm trying to implement a simple "monitoring" tool in C to be used on our servers to check NGINX status, executed periodically with a cron task. This is my very ...
3
votes
1answer
661 views

Bulk Email notifications in Java?

I have written a service which uses the Java Mail Api to send bulk email notifications to the recipients. I feel that the way I implemented the solution is not really scalable when the number of ...
0
votes
2answers
52 views

A class that uses a few other classes to generate an email

I seem to find my self writing a lot of classes like the below where there seems to be some kind of send method that just calls a bunch of other methods. Is this ...
1
vote
2answers
102 views

Validation before sending mail in PHP

In my initial problem posted on SO, whenever anyone accessed the Mail.php on the server, it used to send an empty email to the <...
3
votes
1answer
85 views

Scraper for parsing email-ID using email sending button

I've written a script in python with POST request which is able to send email using send button and then catch the response of that email and finally parse the ID from that. I don't know whether the ...
2
votes
1answer
943 views

Spring MVC verification email sending service

I have a @Service to send verification emails. Here is the code of the service: ...
3
votes
0answers
4k views

Powershell script that reads Outlook emails and exports results as .csv

I wrote my first powershell script. It reads through all the emails in a folder and exports some of the data as a csv file. I'm happy with the way it works but I plan to share it with co-workers, so ...
0
votes
1answer
357 views

Get value from an async function in Outlook Web Addin

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
797 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
107 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
206 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
777 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
83 views

Sending email notifications, each to a different set of subscribers

Here is a code which sends email notification on new comments. ...
3
votes
1answer
684 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
66 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
182 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 ...