473,549 Members | 2,627 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can get the sender of an Email with Python 2.7? (body doesn't matter)

1 New Member
I am making a program to remotely shut down my server/computer if I receive an Email from an address on a list of senders I have. I don't care about anything except for the address, and everything else in the program is done. I looked up the documentation and most methods are sending-oriented. Any and all help is appreciated.
Apr 26 '14 #1
0 1380

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1218
by: System Attendant | last post by:
ScanMail for Microsoft Exchange has blocked a file attachment(s). Place = Tortorella, Joe Sender = python-list@python.org Subject = Re: Approved Delivery Time = August 25, 2003 (Monday) 06:52:58 Action on file attachment(s): Delete 'thank_you.pif' at Tortorella, Joe
2
2825
by: David Stockwell | last post by:
snippet payload = {} try: message = email.message_from_string(message) messageHeader = dict(message._headers) addressFrom = messageHeader addressReply = messageHeader.get("Reply-To") messageId = messageHeader.get("Message-ID")
1
3540
by: Peter Bassett | last post by:
I have an ASP script for users to replying by email to job postings. I set up the message using CDO as usual: Set objMessage = CreateObject("CDO.Message") objMessage.Subject = "Example CDO Message" objMessage.From = "blah" objMessage.To = "myemail@comcast.net" objMessage.TextBody = "blah" objMessage.Send
1
1881
by: Laertes | last post by:
Hi! just managed to generate auto emails using Access & Novell Groupwise. My question is quite simple ... Is there a way to format 'messagetext', i.e. the body of the email you send? e.g. how can you do carriage return , skip lines etc? Thank you in advance! Laertes
2
2222
by: Fabio Negri Cicotti [MCP] | last post by:
Hi all. How do I do to display a picture on e-mail's body when visualized using Outlook Express? I've set the properties bellow but till now I've got the image shown as that box with a red "x" (when an image hasn't been downloaded) and the image goes attached instead of displayed on the e-mail's body. MailMessage Email = new...
2
2473
by: kennykenn | last post by:
Hi, Ive producd code to send an email after capturing info off a form,it works fine locally but when i put it live it doesnt work! the code is stopin at 'msg.send' any ideas, here the code! <%
4
2046
by: canajien | last post by:
I need to have a php script pull data from a mysql table and send it in the body of an email I know I can get the script to display information in the browser by doing this: $i=0; while ($i < $num) { $who=mysql_result($result,$i,"who");
2
1558
by: jackie10579 | last post by:
I am in desperate need of some help to write some code for templates I need for work. I want to write a number of different options but I need to know how to do a basic code and have fields come up based on answers from the previous question. Something kind of like this... Select Letter (then have the different letter options and depending...
4
5041
by: luke noob | last post by:
This is my HTML... <head> <script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script> <script type="text/javascript" src="js/script.js"></script> </head> <body>
1
2080
by: Juud Leo | last post by:
I have a problem sending php email using the code below. The MIME heades keep apearing in the message and the attachment appears as scribble text in the mesage body not as attachment. what could be the problem? <?php session_start(); require_once("includes/functions.php"); require_once("includes/dbconnect.php"); ...
0
7521
marktang
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...
0
7959
jinu1996
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...
0
6044
agi2029
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...
1
5369
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
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...
0
3483
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1944
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
764
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.