o
    +ú j  ã                   @   sÐ  d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl	m	Z	 dZ
dZd	Zd
ZdZdZe  ee¡Ze ¡  e ee¡ eƒ ZeD ]žZed Zed Zed Ze	 ¡ Ze d¡ ddd¡ dd¡Zeekráde› dZeƒ Zded< e
ed< eed< eed< eedƒZe  e¡ e!ddƒZ"ee" #¡ ƒZ$e$ %dd¡ e  e$¡ W d  ƒ n1 s«w   Y  ze &e
eege '¡ ¡ e(d e› ƒ W qC e)yà Z* ze(d!e› d"e*› ƒ W Y dZ*[*qCdZ*[*ww qCe +¡  dS )#é    N)ÚMIMEText)Ú	MIMEImage)ÚMIMEMultipart)Úget_data)Údatetimezscott_wright@currently.comzswright@homestbk.comzsmtp.mail.att.netiK  Zjwbtbbqqwdkocrnoé   é   é   z%m/%dÚ0Ú z/0ú/zY<html>
                                <body>
                                        <p>až  ,</p>
                                        <p>Hope all is well, please let me know if there's any financing or banking I can help with.</p>
                                        <p>Just wanted to check in.<br><br>
                                        
                                        <p>Regards,</p>
                                        <p>Scott Wright</p>
                                        <p>Vice President, Commercial Lending</p>
                                        <p>swright@homestbk.com or scott_wright@currently.com</p>
                                        <p>Home State Bank</p>
                                        <p>Crystal Lake, IL</p>
                                        <p>815-788-3475 office | 847-532-3886 cell/text</p>
                                        <p><img src="cid:image1"></p><br>
                                        <p>NOTICE: This electronic mail message and any files transmitted
                                        with it are intended exclusively for the individual or entity to
                                        which it is addressed. The message, together with any attachment, may
                                        contain confidential and/or privileged information. Any unauthorized
                                        review, use, printing, saving, copying, disclosure or distribution is strictly prohibited.
                                        If you have received this message in error, please immediately advise the sender by
                                        reply email and delete all copies.</p>


                                </body>
                                </html>zChecking InZSubjectZFromZToZBccZhtmlzhsb_logo.pngÚrbz
Content-IDz<image1>zEmail sent successfully! to z)An error occurred while sending email to z: ),ZsmtplibZemail.mime.textr   Zemail.mime.imager   Zemail.mime.multipartr   Zpython_postgresr   r   Zsender_emailZ	bcc_emailZsmtp_serverZ	smtp_portZsmtp_usernameZsmtp_passwordZSMTPZsmtp_connectionZstarttlsZloginÚdataÚitemZreceiver_emailÚnameÚdateZtodayÚstrftimeÚreplaceZtodays_formatted_dateZmessage_templateÚmsgZ	html_partZattachÚopenÚfpÚreadZ
image_partZ
add_headerZsendmailZ	as_stringÚprintÚ	ExceptionÚeÚquit© r   r   úknown_prospects.pyÚ<module>   sb    þ

ý€þ