Skip to main content

Questions tagged [email]

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

Filter by
Sorted by
Tagged with
3 votes
1 answer
128 views

IMAP client impementation on State Machine boost-ext/sml

I made IMAP(IMAPS) notifier on boost-ext/sml state machine. There is an opinion that networking is best done on machines. Compile in C++20. Tested on GMail server. Uses karastojko/mailio (and ...
Alexovsky's user avatar
2 votes
2 answers
136 views

Function to validate that an email address meets some requirements

I want to create a function that checks if an email has a username that is 5 to 20 characters long, starts with an alphabet letter and ends with one domain names of (.org, .net, .org). It also ...
Taylan GÜNAY's user avatar
2 votes
1 answer
66 views

Asynchronous mailing tool

I'm trying to change my sync code to asynchronous. It's my first time doing it like this, so I don't know if this is the right way. ...
gongul's user avatar
  • 21
1 vote
0 answers
77 views

Two steps changing email system Django + Redis

I created a two steps changing email system. Firstly I show you the concept how it should work and then the code. I am using Django and React. Main question: is it a good way to do it? Is it fine to ...
some nooby questions's user avatar
9 votes
5 answers
2k views

Weekly MySQL database backup

I haven't used Unix, etc. for 40 years, so I am a bit rusty. I need to back up the databases on my website(s) once a week and then retrieve them automatically from my development machine. So this is ...
Rohit Gupta's user avatar
3 votes
1 answer
151 views

Fetch CSV file into PANDAS and send report of Spotify statistics

I'm relatively new and self taught in Python. I've written this code which gets a CSV file from a website, plays around with the data then creates an email with information gleaned. I know this is too ...
rossf's user avatar
  • 33
4 votes
2 answers
79 views

SMTP emailing library

Some time ago, I implemented an emailing library to simplify sending emails for several web applications and daemons. As usual, I am interested in improving my code. ...
Richard Neumann's user avatar
1 vote
3 answers
607 views

Send email to a list of recipients

I wrote code to automate sending emails using smtp in Python. Below is my code I've written. However, I think there might be a simpler way (simplified code)....could you please review and give me ...
Detectivechris's user avatar
4 votes
2 answers
167 views

Scrape E-Mails using IMAP from cron

I have the following code which works great to do what it is meant to do. It scrapes the bodies of all e-mails in the inbox at an e-mail address using IMAP and retrieves the unique code sent inside ...
Dawson Irvine's user avatar
1 vote
0 answers
94 views

Flask API for converting Contact Form responses to Email notifications (with reCAPTCHAv2)

Introduction I wrote a proof-of-concept Flask server that accepts responses from a contact form and converts the data submitted to an email. I have added a rudimentary honeypot field that causes the ...
Hungry Blue Dev's user avatar
5 votes
1 answer
1k views

Send email with attachments, including in memory zipped attachments

The below class implementing a simple way to create emails with attachments, including the option to create in-memory zip files and attach them to the email. Because I am not a professional programmer ...
Alex's user avatar
  • 151
0 votes
1 answer
68 views

Evaluate my program with Java Mail + Sql + Swing

I'm 16 years old and no one to help me, no one to give any advice or constructive criticism, I'm aimless. I'll leave the link to my last code (github), a program that sends an email to everyone ...
Davi Ribeiro's user avatar
2 votes
1 answer
136 views

program that sends an email to everyone registered in the database

I'm 16 years old and no one to help me, no one to give any advice or constructive criticism, I'm aimless. I'll leave the link to my last code (github), a program that sends an email to everyone ...
Davi Ribeiro's user avatar
0 votes
1 answer
62 views

Reviews on a contact-us form

I tried my hand at a contact-us PHP script. I came up with the following. First the markup, then a little client-side validation and then the email script. I just need to know if this is usable code. ...
Neil Meyer's user avatar
3 votes
1 answer
93 views

How can I implement the SMTP protocol better in my Server and Client “SMTP” code?

I've been assigned a tast to implement an SMTP client-server protocol providing limited functionality and the Solution for this is to execute a typical execution simiilar to this transcription: ...
Jimmy665566's user avatar
2 votes
1 answer
314 views

Powershell SMTP report with attachment issues needs corrections

I created this tiny script to full fill a repeated request from audit. I want to expand it but ran into an issue with file creation. This code will create the ...
StormySkies's user avatar
3 votes
1 answer
157 views

Python - Basic CLI Email Client

This is a basic CLI email client in Python. It can send plain text emails and view inbox. settings.json contains a list of SMTP and IMAP servers used for different ...
Sproza's user avatar
  • 31
2 votes
1 answer
137 views

user-facing email validation

I'd like to have a generic way for validating user provided email with a bias toward ease of use. Does the following do so in a clear way for implementations that have the ...
jimmont's user avatar
  • 233
4 votes
1 answer
698 views

Create a CSV from SQL Data and email as attachment using PHP

I put together some functions that allows a PHP script to send the SQL data obtained from user inputs on a website via an email attachment as a CSV file. It works perfectly and I have no issues with ...
Surfboard's user avatar
4 votes
2 answers
99 views

PHP Email List Sign Up

See my original post: here. I have one html page and four php files that allow users to sign up for an email list. One of the php scripts is a cronjob that deletes unverified rows older than 24 hours, ...
user avatar
3 votes
3 answers
294 views

Email Validation in PHP

Is this script sufficient enough to validate user email input? ...
user avatar
1 vote
2 answers
797 views

Python Regex to validate an email

I have written this regex to validate an email. It seems to work fine. Can someone advise on the regex used? Does it work properly or can be done in a better way? ...
gss's user avatar
  • 169
2 votes
0 answers
36 views

Uploading CV file to an e-commerce website and sending the CV to employer's email

I am working on an e-commerce website. In this specific scenario, people can upload their CV to apply for a job. The job application is sent to ApplyForJob action ...
Hooman Bahreini's user avatar
3 votes
1 answer
203 views

Abstracted email sender with content providers

I've created an email sender with providers for the email content, that will be changed based on the email type. I need some help to enhance it. These two models are used to send ...
Shrembo's user avatar
  • 151
2 votes
0 answers
41 views

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

I have a Spring service that calls a few methods to ...
James's user avatar
  • 299
6 votes
2 answers
3k 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 ...
mantasbacys's user avatar
1 vote
0 answers
615 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 ...
Igavshne's user avatar
  • 111
2 votes
0 answers
69 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 ...
JsonDork's user avatar
  • 414
1 vote
1 answer
1k 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. ...
JsonDork's user avatar
  • 414
1 vote
2 answers
84 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 ...
Joe Smith's user avatar
  • 170
4 votes
1 answer
292 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 ...
Joe Smith's user avatar
  • 170
4 votes
1 answer
85 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, ...
Joe Smith's user avatar
  • 170
1 vote
1 answer
707 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 ...
Umendra Rajapakshe's user avatar
2 votes
0 answers
80 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 ...
Al Nikolaj's user avatar
3 votes
1 answer
1k 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 ...
AstroLeh's user avatar
5 votes
1 answer
1k 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 ...
BlackCurrant's user avatar
4 votes
1 answer
556 views

Sorting email address according to occurrences of each domain

My code: ...
12 rhombi in grid w no corners's user avatar
7 votes
1 answer
429 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: ...
Delfino's user avatar
  • 509
2 votes
0 answers
76 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 ...
user2676140's user avatar
4 votes
1 answer
417 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. ...
Akusas's user avatar
  • 143
3 votes
0 answers
99 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 ...
rmcknst2's user avatar
2 votes
1 answer
358 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 <...
FastFarm's user avatar
  • 131
6 votes
1 answer
251 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 ...
Prassein's user avatar
2 votes
1 answer
95 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 ...
anfield's user avatar
  • 173
1 vote
1 answer
92 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. ...
calendarw's user avatar
  • 127
4 votes
1 answer
196 views

PHP - Saving inbound email and its attachment

I have the below code, which handles inbound emails in my application, saves the actual email content (text + attachments) to my database, and the saves the actual attachment files on the server. In ...
oliverbj's user avatar
  • 257
9 votes
2 answers
674 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 ...
glenn jackman's user avatar
2 votes
0 answers
4k 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 ...
iuvbio's user avatar
  • 442
5 votes
2 answers
107 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 ...
helloworld's user avatar
4 votes
2 answers
3k 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. ...
David Andrei's user avatar

1
2 3 4 5 6