Hi Guys,
Does anyone know how to program a Python script to send out emails
with a request delivery receipt? Is it something I can build into the
email message via the mime stuff?
And yes, I know it's probably a bad idea, but I can't talk my clients
out of it ;-)
--
Gregory Piñero
Chief Innovation Officer
Blended Technologies
( www.blendedtechnologies.com) 2 12213
Gregory Piñero wrote: Does anyone know how to program a Python script to send out emails with a request delivery receipt? Is it something I can build into the email message via the mime stuff?
You have to add 'Disposition-Notification-To' header from email.MIMEText import MIMEText msg = MIMEText('Very important email I need confirmation on') me = 'r*******@examp le.com' msg['From'] = me msg['To'] = 'w******@exampl e.com' msg['Subject'] = 'You better follow up' msg['Disposition-Notification-To'] = me
print msg.as_string()
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: re******@exampl e.com
To: wo*****@example .com
Subject: You better follow up
Disposition-Notification-To: re******@exampl e.com
Very important email I need confirmation on
Thanks for the help, guys. This project was put on hold so I wasn't
able to try out any of the advice yet. I'll let you know when I do.
-Greg
On 3/8/06, Dennis Lee Bieber <wl*****@ix.net com.com> wrote: On Wed, 8 Mar 2006 12:52:04 -0500, "Gregory Piñero" <gr********@gma il.com> declaimed the following in comp.lang.pytho n:
Hi Guys,
Does anyone know how to program a Python script to send out emails with a request delivery receipt? Is it something I can build into the email message via the mime stuff? http://www.faqs.org/rfcs/rfc1891.html http://www.faqs.org/rfcs/rfc2821.html http://www.faqs.org/rfcs/rfc2822.html
I'm not sure if there IS a single method yet. Eudora has/had secret ini parameters for "old style return receipt"; Outlook/Exchange have both "when delivered" and "when read" receipts.
From Eudora help: Request a Return Receipt
(Sponsored and Paid modes only) You can request that your recipients notify you when they have seen your message. To do this, click the Return Receipt button in the message toolbar. When your recipients open the message and then close it, a dialog box appears asking them to create a notification message now, later, or never (if you send yourself a copy of the message, you will see the notification request). If a recipient chooses to create a notification message, it is sent to you and tells you when the recipient displayed your message.
If you receive a request for notification, click Now to queue the notification message in your Out mailbox: it will be sent the next time queued messages are sent. Click Later to close the message without sending a notification or click Cancel to dismiss the notification request from the screen while the return receipt message is open; however, each time you open the message and then close it (or if you try to delete it), the notification request will appear until you click either Now or Never. Click Never to cancel the notification request without ever sending a notification message.
The Return Receipt options may work differently than described, depending on your recipients' email software.
Return Receipt
If this is on, your recipients receive a request to notify you that they received the message. This function does not work in all cases, depending on the email application your recipients are using. -- > =============== =============== =============== =============== == < > wl*****@ix.netc om.com | Wulfraed Dennis Lee Bieber KD6MOG < > wu******@dm.net | Bestiaria Support Staff < > =============== =============== =============== =============== == < > Home Page: <http://www.dm.net/~wulfraed/> < > Overflow Page: <http://wlfraed.home.ne tcom.com/> < -- http://mail.python.org/mailman/listinfo/python-list
--
Gregory Piñero
Chief Innovation Officer
Blended Technologies
( www.blendedtechnologies.com) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Cliff Wells |
last post by:
From:
zonk@azet.sk
To:
Cliff Wells
<clifford.wells@comcast.net>
Subject:
Sprava nebola dorucena (Message was
not delivered)
Date:
13 Oct 2004 15:26:00 -0000 (08:26
|
by: Dan Williams |
last post by:
Apologies for the cross-post but i thought i'd aim for the largest audience
possible.
I have a web site that users have to register to with their email address.
The site then emails the user their password via Exchange 2000 and
ASP/VBScript and CDO.
Does anyone know if its possible to verify that the email address exists
before sending the email, rather than me having to send the email and only
discovering that the user has input an...
|
by: Chris Thunell |
last post by:
I'm using the system.web.mail in vb.net to send emails out in a vb.net
application. The sending of emails works great. Is there a way to have it
send me back a delivery receipt or a read receipt? (I think i prefer
delivery receipt)
Any help would be greatly appreciated!
Chris Thunell
cthunell@pierceassociates.com
mycode currently is the following:
|
by: Kostadin Kostov |
last post by:
Hi!
I'm developing component for sending emails and want to have the ability to
request delivery receipt when sending an email. I use the "Return-Receipt-To"
header:
myMessage.Headers.Add("Return-Receipt-To", "me@something.com");
It successfully adds the header to the email, but for some reason I don't
get delivery receipt.
And when I send email with Outlook and request delivery receipt, I get it
and the header of the mail is almost...
|
by: Ravi |
last post by:
Hi People,
I am facing an issue with printing where I have to print receipts of a
custom size. Each receipt is about 8 inch by 4inch. I am using
window.print(). When a receipt is printed another 3 receipts are
flushed out of the printer. I want only the printed receipt out of the
printer. Am using a dot-matrix printer and the receipts are in a
continuation (i.e around 1000 receipts attached to one another).
I want to print only one...
| |
by: ysblokkie |
last post by:
Hi Everybody,
I am busy working on a web application project that uses Active Directory Distribution groups using C#.
I want to use Microsoft Outlook to send emails to the AD groups, but I have a question:
If I use Outlook to send the mail to the group, will the mail appear in the 'Sent' items of the sender, and wil the sender be able to receive read/received receipts for the mail?
If this does not happen by default, how do I go...
|
by: kpfunf |
last post by:
Hey all,
I have a table of receipts used (Table Name: receipts, Field Name: receiptNumber) and a table with receipts issued (Table Name: Receipts Batches, Field Names: BatchID, BegRng, EndRng). Example row in Receipts Batches: 3, 72551, 72600. I need to check the list of used receipts against the issued list and find any "skipped" receipts; that is, find the max used receipt for each batch, and check if any below that number are missing. I've...
|
by: Mail Delivery System |
last post by:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
mysql@freebsd.csie.nctu.edu.tw
Domain restaurandoisrael.com.br has exceeded the max emails per hour (200) allowed. Message discarded.
------ This is a copy of the message, including all the headers. ------
|
by: Jason7899 |
last post by:
hi,
i spend some time looking for the smtp command to request a delivery report
like we have on outlook for example, but i not find nothing
any one know the command for request that report and the report for read mail too?
thanks a lot for your help
:)
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |