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_realtors)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>I noticed you have or have had multifamily or commercial listings. At Home State Bank, we have quick approval times and specialize in financing investment real estate.  We target the Northwest suburbs and have flexible terms.</p>
                                        <p>In most situations, I can provide estimated terms based on a review of the property's rent roll and listing sheet.  Please feel free to contact me anytime.<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   realtors.py<module>   s^    

 