Python Forum
Greenplum Query results to Email HTML table
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Greenplum Query results to Email HTML table
#1
Hello,

I'm trying to send email results from Greenplum query as HTML table with status Red/Green

Select Server, Last_Date from Table;

Query Results

Server, Last_Date
Prod, 2018-04-09

Final email Output in HTML Table

Server Status LastDate
Prod GREEN(BOX) 2018-04-09 (if the date is within 24 hours) - Green color status
UAT RED (BOX) 2018-04-08 (if the date not within 24 hours) -- Red color Status

Thanks
Reply
#2
Quote:I'm trying to send email results from Greenplum query as HTML table with status Red/Green
Ok, what have you tried?
where are you having problems
Show the code you have written so far and where you think the problem lies.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Going through HTML table with selenium emont 3 815 Sep-30-2023, 02:13 AM
Last Post: emont
  Tkinterweb (Browser Module) Appending/Adding Additional HTML to a HTML Table Row AaronCatolico1 0 934 Dec-25-2022, 06:28 PM
Last Post: AaronCatolico1
  reading html and edit chekcbox to html jacklee26 5 3,084 Jul-01-2021, 10:31 AM
Last Post: snippsat
  write mariadb table rows query to each file? shams 1 1,889 Feb-02-2021, 04:10 PM
Last Post: buran
  Fetch Oracle DB rows & print it in HTML file with table's col headers in table format tssr_2001 1 3,003 Sep-04-2020, 01:39 PM
Last Post: ibreeden
  Outlook Emails & HTML Table in Message Body JoeDainton123 1 11,425 Sep-02-2020, 05:15 AM
Last Post: buran
  Search Results Web results Printing the number of days in a given month and year afefDXCTN 1 2,243 Aug-21-2020, 12:20 PM
Last Post: DeaD_EyE
  Including a Variable In the HTML Tags When Sending An Email JoeDainton123 0 1,896 Aug-08-2020, 03:11 AM
Last Post: JoeDainton123
  importing CSV file into a HTML table using Python trybakov 1 2,302 Feb-22-2020, 09:47 PM
Last Post: scidam
  Join table with differnt datype column using python query abhishek6555 1 2,300 Jan-07-2020, 11:44 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

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