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rd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 sw   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_unknown)datetimezscott_wright@currently.comzswright@homestbk.comzsmtp.mail.att.netiK  Zjwbtbbqqwdkocrno         z%m/%d0 z/0/zY<html>
                                <body>
                                        <p>ah  ,</p>
                                        <p>I'm a local community banker (with all the bank mergers few of us remain), please let me know if there's any reason to set up a call, even for a quick introduction.  If you're looking for a second banking option, community banking relationship, or even investment property financing that your current bank may not provide, please don't hesitate to contact me.</p><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Community BankerZ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   unknown_prospects.py<module>   sb    

