Questions tagged [email]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
29 views

Collect messages from a job to send in body of one email

I have a Spring service that calls a few methods to ...
6
votes
2answers
67 views

Python - use a list of names to find exact match in pandas column containing emails

I have an Excel file containing a free-form text column (that sometimes is structured like an email), where I need to find all first and last names and add an extra columns saying TRUE/FALSE to these ...
1
vote
0answers
71 views

Sending emails asynchronously

In a part of our system a lot (I'm not sure how many, probably a couple thousand) of emails are being sent to the users at a specific time of the month. It seems this kills the server. So I was asked ...
2
votes
0answers
31 views

Email Service - Sending an email with azure blob storage Version 2.0

Now implemented changes suggested in my previous post and now am back again for the internet to tear me and my shitty code down. PatchNotes Extracted templateRetriever class from the email service ...
1
vote
1answer
56 views

Email Service - Sending an email with azure blob storage

Here is some code that sends an email using Mimekit for .net C# to send email via Office365. DI is done using TinyIOC. It downloads an image from blob storage and then sends it with an attachment. ...
1
vote
2answers
51 views

Mail Crypt Library for encrypted email [REVISION]

This is a revised copy of the Mail Crypt library based on the recommendations from the last post, as well as reviewing recommendations from the first post that I misunderstood. [Last post] Mail Crypt ...
4
votes
1answer
155 views

Mail Crypt Library for encrypted email

(Last Post) Mail Crypt CLI encrypted email wrapper for Gmail I've spent the past few days re-writing the logic of my program as a library to improve the structure and readability of my code. The idea ...
2
votes
1answer
50 views

Mail Crypt CLI encrypted email wrapper for Gmail

I've spent the past few days writing a python based client that allows you to locally encrypt your message and send it through Gmail. The encryption scheme is based off of hybrid RSA/AES encryption, ...
1
vote
1answer
103 views

Asynchronous logging using custom log4j appender and ExecutorService

I have a requirement to send emails when certain errors are logged(using log4j 1.2.17). But the SMTP appender sends emails in a synchronized manner. I can not use the AsyncAppender either. So I have ...
2
votes
0answers
40 views

E-Mail Automatisation Project with smtplib but did not use MIMEMultipart

The goal of the project is to automate sending the same e-mail to a list of people with the same text (except the salutation "Dear Name of Person") with an HTML signature and a PDF attachment. For ...
3
votes
1answer
226 views

Extracting mail data out of MS Outlook's generic mailbox

This code extract data from generic mailbox mapped by MS Outlook I failed at recursive iteration in subfolders, so it stays as iterative one. Added ASCII encoding to deal with crazy national symbols ...
5
votes
1answer
299 views

GMAIL API -Create/Send/Search messages for keyword

I have written below code using GMAIL API reference which creates a basic message, sends it and also lists all the messages from user's mailbox matching a keyword.It works fine. Looking for experts ...
4
votes
1answer
68 views
7
votes
1answer
156 views

Function to send email, refactored based on SOLID principles

I have the below method that is responsible for generating and sending a MailMessage using a SmtpClient object: ...
2
votes
0answers
70 views

Code to email past-due accounts

I am using this syntax to query a table and return a record set and if the number of times total the customer has been emailed is less than 5, send an email with a canned response. If the number of ...
4
votes
1answer
114 views

Email Generator

I've made a email generator, that uses a HTML template and replaces keywords in the template with information taken from a database. I'm looking to see if there is a way to improve the coding. ...
3
votes
0answers
72 views

Python Script that sends emails to a list of people and their emails and attaches specific documents (w/ tkinter menu)

This is my first Python project. Any tips on making it more efficient, less cluttered, and could you think of some cases that I haven't in which my code will break. For clarification the vendor list ...
2
votes
1answer
103 views

Python IMAP login bruteforcer

Below is the code of a command line tool built with Python that will download email via IMAP. Omitted from the code below are 2 important functions parse_line and <...
6
votes
1answer
94 views

Irreversibly hash email addresses while preserving format/entropy

I'm looking to irreversibly hash valid email addresses which have been parsed from mail log data as part of a machine learning project. I need to ensure that the processed data has been scrubbed of ...
2
votes
1answer
65 views

Backup program in Python3 for Linux

Python beginner here. Created this program as a project to help learn python. Just ran this in a centos7vm so far to test. What it does is - zip up files containing certain extensions (excluding those ...
1
vote
1answer
59 views

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

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. ...
2
votes
0answers
46 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 ...
9
votes
2answers
577 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
64 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. ...
2
votes
0answers
3k 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
84 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
2k 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
722 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
387 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
93 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
203 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
118 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
1k views

Notification system

I would like to implement a mail notification system Notification.cs ...
1
vote
2answers
81 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 ...
5
votes
0answers
9k 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 ...
6
votes
2answers
140 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
392 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
2k 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 ...
26
votes
2answers
3k 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
139 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
1k 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
918 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
105 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 ...
3
votes
1answer
768 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
111 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
324 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 ...
6
votes
2answers
228 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 ...

1
2 3 4 5 6