Sending Emails From Your Website
PHP mail() function is the most common way of sending emails. Almost all the scripts use it as their default email settings. There is nothing you need to configure in order to use mail() function. You can simply hit the function and send emails. You can see its working example here: mail() example
What to Consider Before Using mail() Function!
Although it is the easiest way to send emails but not the best one. Most of the scripts which are available in our control panel Script Installer are taken care of but there are certain points that you should consider to make the best possible email delivery.
- From Header: An email must have a valid From header. From, To, Date headers are mendatory. All email servers reject emails which do not contain any of these headers.
- Default Domain: Always use default domain under your sender address; the domain which you registered. e.g. If you registered "example.unaux.com", your sender address should be something like "[email protected]". This ensures best possible outcome for email delivery.
- Large Volumes: Sending large volumes of emails is prohibited on our free hosting. It means that you can send only individual emails from both php mail() function and Webmail.
- Email Types: Only certain types of emails are allowed to be sent from our email servers. Currently, you can send only Registration, Client Confirmation and Activation emails.
- How do we know what kind of email is passing through? Outgoing emails are filtered on the basis of email templates. These above three mentioned types of emails will get passed and delivered. All other emails including Contact request, newsletters, notifications, updates etc. will be ignored.
- Best Effort Basis: All emails are sent on best effort basis. Which means there is no 100% gurantee that emails will be delivered.
Why Do We Impose Email Restrictions?
We provide shared hosting alongwith free sub domains. It is a bitter truth that there are people out there trying to abuse our service. If we allow more than restricted functionality, we are prone to the reputation threat and our domains being banned by search engines and social services.
All in all, we try to keep our services straight and available for general public.