î
ªÍ XË  ã               @   s5   d  Z  d d l Z Gd d „  d e ƒ Z e ƒ  Z d S)z;
Email message and email sending related helper functions.
é    Nc               @   s(   e  Z d  Z d d „  Z d d „  Z d S)ÚCachedDnsNamec             C   s
   |  j  ƒ  S)N)Úget_fqdn)Úself© r   úD/home/ubuntu/projects/ifolica/build/django/django/core/mail/utils.pyÚ__str__   s    zCachedDnsName.__str__c             C   s(   t  |  d ƒ s! t j ƒ  |  _ n  |  j S)NÚ_fqdn)ÚhasattrÚsocketÚgetfqdnr   )r   r   r   r   r      s    zCachedDnsName.get_fqdnN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   
   s   r   )Ú__doc__r
   Úobjectr   ZDNS_NAMEr   r   r   r   Ú<module>   s   	