a
    51er                     @   s   d dl Z d dlmZ d dlZdd Zedkr~eejdkrLed e	d ejd Z
ejd	 Zejd
 Zejd Zee
e dS )    N)EmailMessagec           
      C   s   d| }d| dt  dt d| d|  d}t }||d< d	|d
< | |d< || d}d}d	}d}t||6}	|	  |	|| |	| t	d W d    n1 s0    Y  d S )Nz(Welcome to Indexa for Content | https://zt
            Hi,

            We're delighted to provide you with access to manage 'Indexa for Content' for https://zY.

            Main Content Overview:
            https://docs.google.com/spreadsheets/d/zb/edit

            Knowledge Repository (Q&A):
            https://docs.google.com/spreadsheets/d/z~/edit

            Content Management Dashboard (including image uploads, CSS, syntax, shortcodes, etc.):
            https://zW/manager.php

            Please note, all accesses are linked to your Google account: z.

            If you have any questions or need further support, please don't hesitate to contact us.

            Warm regards,

            The Simplex Team.
            ZSubjectzjunior@simplexanalytics.com.brZFromZTozsmtp.gmail.comiK  Zflorian40065u   Email envoyé avec succès !)
url_contenturl_knowledger   Zset_contentsmtplibZSMTPZstarttlsZloginZsend_messageprint)
emailwebsite_nameZsubjectbodymsgZsmtp_serverZ	smtp_portZ	smtp_userZsmtp_passwordZserver r   K/var/www/ScriptInstallationIndexaForContent/ScriptDupliGoogleSheet/email.py
send_email   s4    
	

r   __main__   z.Usage: python script.py <email> <website_name>            )r   Zemail.messager   sysr   __name__lenargvr   exitr   r   r   r   r   r   r   r   <module>   s   .




