Loading...
 
Gmail / Facebook Style Chat Application


Posted: Tuesday 14th of October 2014

Send Mail with File Attachment via SMTP using PHP and Jquery



Email has become the most popular Internet service today. Almost all websites have the section where they can either send email messages to their users/clients or where their users/clients can send them message with ease without logging into their email accounts or to avoid the issues of logging into an email account always to send a mail.

If you can observe, you will notice that majority of these websites that have the feature of sending or receiving email messages via their website did their coding using the PHP mail() function that does not use a well configured SMTP Server.

A lot of emails are sent and delivered each day, most are treated as spam messages while others are treated as genuine messages at the receiving end.

The most important part of an email sent is to see that the message arrives safely at the receiving end.

However, messages sent via the PHP mail() function are treated mostly as spam after so many messages have been sent via this function on a particular server because the mail function is not using a well configured SMTP Server.

Nowadays, Email-Clients and Servers perform massive checks on the emails sending server, like Reverse-DNS-Lookups, Graylisting and whatevs. All this tests will fail with the php mail() function. If you are using a dynamic IP address, the situation will even worse.

The goal of this tutorial is to introduce a secure means through which you can easily send emails with File Attachment via SMTP using PHP and Jquery without the need to log into your email accounts.

A situation where you send a mail to your users/clients or these users/clients happen to contact you via your website and the messages sent are placed in the Spam Box, not all users bother to check their spam box.

This application brings an end to this kind of situation as illustrated above. This application now gives you the hope that all genuine messages sent or received will go straight to your Inbox and no longer the Spam box.

Messages sent via SMTP will always arrive at the receiving end as long as you specify valid information in the configuration file for the application.

The system is also responsive to screen which means that it can be used on any device and also, it can easily be added to any application by simply adjusting the width of the class with the name: ".vpb_main_wrapper" which is already set to width:60%; in the CSS file that comes with the application.

The system can be used as a Contact Form or as a Mailing System depending on your setting in the Config file that comes with this application.

To use this application, you need to specify few details in the config file which comes with the application and such information are as follows:

(1) Outgoing (SMTP) mail server or an SMTP Address: Example; smtp.server-name.com, mail.server-name.com or an IP Address depending on what your server uses

(2) Your SMTP Port Number: Example; 25

(3) Your SMTP Username or an email address created via your hosting control panel: Example; admin@vasplus.info

(4) Your SMTP Password which is the password of the email address you may have specified as your SMTP Username or email address.

To add this application to your existing website, you only need to specify the above information in the config file that comes with the system and copy the codes at the head and body section of the index file to your existing website page and you are done.

This is a very simple to understand application as all you need to do are well explained in the script.

The script is very easy to understand and customize with programming code comments to ease usability.

To see the system in action, please click on the Live Demo button below and click on the download button to buy the script if you like it.

Thank You!
The Vasplus Team.

Sample Screen Shot when used the system as a Mailing System to single user at a time

Send Mail with File Attachment via SMTP using PHP and Jquery



Sample Screen Shot when used the system as a Mailing System to multiple users at a time

Send Mail with File Attachment via SMTP using PHP and Jquery



Sample Screen Shot when used the system as a Contact Form

Send Mail with File Attachment via SMTP using PHP and Jquery



Click here for a Recommended Version which works with Captcha






That's it guys...


Views Today: 4
Total Views: 2921

Comments
0
OUR OBJECTIVE

Our objective is to reach a place where our services will be highly regarded by businesses from various industrial domains for building their innovative busines solutions with our cutting-edge technological expertise, interactive designs and uncompromised quality.

OUR MISSION

We aspire to help businesses ranging from startups to enterprises, who reach out to us with their requirements, in achieving great lengths, expanding their reach, upscaling their products, and generate a large user-base with our outstanding and cost-effective services.

Copyright © 2011 - 2024 | All Rights Reserved