a
    {b                     @   s   d Z G dd dZdS )ax  
Email
=====

The :class:`Email` provides access to public methods to use email of your
device.

.. note::
    On Android `INTERNET` permission is needed.

Simple Examples
---------------

To send an e-mail::

    >>> from plyer import email
    >>> recipient = 'abc@gmail.com'
    >>> subject = 'Hi'
    >>> text = 'This is an example.'
    >>> create_chooser = False
    >>> email.send(recipient=recipient, subject=subject, text=text,
                   create_chooser=create_chooser)

    >>> # opens email interface where user can change the content.

Supported Platforms
-------------------
Android, iOS, Windows, OS X, Linux

c                   @   s"   e Zd ZdZdddZdd ZdS )Emailz
    Email facade.
    Nc                 C   s   | j ||||d dS )a  
        Open an email client message send window, prepopulated with the
        given arguments.

        :param recipient: Recipient of the message (str)
        :param subject: Subject of the message (str)
        :param text: Main body of the message (str)
        :param create_chooser: Whether to display a program chooser to
                               handle the message (bool)

        .. note:: create_chooser is only supported on Android
        )	recipientsubjecttextcreate_chooserN)_send)selfr   r   r   r    r   c/Users/vegardjervell/Documents/master/model/venv/lib/python3.9/site-packages/plyer/facades/email.pysend&   s    
z
Email.sendc                 K   s
   t  d S )N)NotImplementedError)r   kwargsr   r   r	   r   9   s    zEmail._send)NNNN)__name__
__module____qualname____doc__r
   r   r   r   r   r	   r   !   s
     
r   N)r   r   r   r   r   r	   <module>   s    