
    xh                        d Z 	 ddlmZ n#  ddlmZ Y nxY w	 ddlmZ n#  ddlmZ Y nxY wddlmZm	Z	m
Z
 ddlZ ee          Z e            Ze                    ddg          d	             Ze                    ej        d
g          d             Zedk    rZ eej                            dej                            Zeej        k    rde_        e                    dej        e           dS dS )zgReceiver module for processing SendGrid Inbound Parse messages.

See README.txt for usage instructions.    )Config)Parse)Flaskrequestrender_templateN/GET)methodsc                       t          d          S )z2Show index page to confirm that server is running.z
index.html)r        O/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/inbound/app.pyindexr      s     <(((r   POSTc                  |    t          t          t                    } t          |                                            dS )z8Process POST from Inbound Parse and print received data.OK)r   configr   print
key_values)parses    r   inbound_parser      s4     &'""E	%



 4r   __main__PORTFz0.0.0.0)hostdebugport)__doc__r   r   sendgrid.helpers.inbound.configr   r   sendgrid.helpers.inbound.parseflaskr   r   r   os__name__approuter   endpointr   intenvirongetr   r   run
debug_moder   r   r   <module>r+      s  * *77666666665544444444 1 1 1 1 1 1 1 1 1 1 				eHoo	 3  ) ) ! )
 6?VH--  .- z3rz~~ffk2233Dv{GG&"3$G????? s      *