Django

Django is a Python framework. Django natively integrates a class to quickly and easily send your emails. You just have to set your SMTP credentials to send your email with Tipimail. You find more information on the official documentation of Django

Framework configuration

Create and edit the file "config/email.php" on the config folder of your CodeIgniter project. This file will contain the settings for connecting to the SMTP relay and will be loaded automatically

				# Host for sending email.
				EMAIL_HOST = 'smtp.tipimail.com'

				# Port for sending email.
				EMAIL_PORT = 587

				# Optional SMTP authentication information for EMAIL_HOST.
				EMAIL_HOST_USER =  'tipimail smtp username',
				EMAIL_HOST_USER = 'tipimail smtp password',
				EMAIL_USE_TLS = true
			

Send your email

You just have to use the Django native function to send your emails

				from django.core.mail import send_mail

				send_mail('Subject ', 'HTML message', 'from@mail.tipimali.com',
				    ['to@mail.tipimail.com'], fail_silently=False)