Python Forum
get email text body: very close but I can't get it [SOLVED}
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get email text body: very close but I can't get it [SOLVED}
#3
Thanks! I will try that.

Do you understand what the code I posted prints? I can see my data in the terminal, but I cannot get it! Grrrr!

I also found this to work on, seems promising for me, but it is from 2014, maybe needs some adjusting.

Also, I'm thinking of taking the raw string of the email and using a regex expression, which would be the student number, as they are all the same 10 digit format. After finding that, I know how long the string should be, hopefully I can cut it out of the raw string. I'll try that too.
Reply


Messages In This Thread
RE: get email text body: very close but I can't get it - by Pedroski55 - Oct-06-2018, 11:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] [BeautifulSoup] How to get this text? Winfried 6 3,117 Aug-17-2022, 03:58 PM
Last Post: Winfried
  Delete empty text files [SOLVED] AlphaInc 5 3,129 Jul-09-2022, 02:15 PM
Last Post: DeaD_EyE
  [SOLVED] [ElementTree] Grab text in attributes? Winfried 3 2,502 May-27-2022, 04:59 PM
Last Post: Winfried
  [SOLVED] Read text file from some point till EOF? Winfried 1 3,539 Oct-10-2021, 10:29 PM
Last Post: Winfried
  Sorting and Merging text-files [SOLVED] AlphaInc 10 7,836 Aug-20-2021, 05:42 PM
Last Post: snippsat
Thumbs Up [SOLVED] Find last occurence of pattern in text file? Winfried 4 6,554 Aug-13-2021, 08:21 PM
Last Post: Winfried
  Replace String in multiple text-files [SOLVED] AlphaInc 5 11,136 Aug-08-2021, 04:59 PM
Last Post: Axel_Erfurt
  A text-based game [SOLVED] Gameri1 6 5,260 Apr-20-2021, 02:26 PM
Last Post: buran
  How to Save Full Email Body to CLOB in Oracle w/Carriage Returns? bmccollum 1 2,954 Mar-12-2020, 10:25 PM
Last Post: Larz60+
  Zeep lib, encrypt soap body miha1234 0 3,381 Sep-12-2019, 07:52 AM
Last Post: miha1234

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020