Posts marked with "Email" in tags

Send E-Mails Via SMTP Server In PHP – GMail & Outlook

Email Service providers have POP and SMTP servers for incoming and outgoing E-Mails. SMTP is for Outgoing (Sending) emails and POP is for Incoming (Receiving) emails. If you have an account in email services, it means that you can send or receive emails using these servers. This service is free, fast and secure. You can change the “From” address and the “From” name if you send emails using SMTP server. In this post I will tell you how to send emails using SMTP servers of GMail & Outlook in PHP.... [READ MORE]

Set Up Free Outlook E-Mail Accounts on a Custom Domain

A custom email account on your own domain is useful for various purposes. By getting an own domain email name makes you not to disclose your personal mail and use the work email for disclosing. Email account on a custom domain is costly these days. Google Apps increased the price of their plan, which makes it impossible for custom email addresses. But, Microsoft Outlook is giving it away for free !... [READ MORE]

Create A Contact Form In PHP With Mailgun

Contact forms make it easy for the visitors of your site to contact you. Contact forms are available in various CM systems, but if you are creating your own site, you have to create the contact form yourself. The messages thus sent by the users have to be stored in databases and you have to constantly check the database for new messages. To overcome this problem, it’s better to directly send the messages to your inbox.... [READ MORE]

Send Free E-Mails Using Mailgun API in PHP

E-Mails increases your site’s traffic. E-Mails are used in websites that require E-Mail verification to Reset Passwords. There is already a mail function in PHP, but the E-Mails that are sent via PHP‘s mail function goes to SPAM folder in most of the mail services. So, developers use API services to send E-Mails that gets received on user’s Inbox. Most of the API‘s need money to use. If you are a starting developer, you need a Free service.... [READ MORE]

Send Email using GMail SMTP server in PHP

This tutorial was suggested by SWDS. To send an e-mail using GMail’s SMTP server, you need extra help. Download the latest version of Swift Mailer Package from here. This mailing class is simple, that’s why I recommend you to use Swift Mailer. If you have enabled application specific password feature on Google Accounts, you may have to generate a new application password and use that password for SMTP authentication. Otherwise the example won’t be able to login to your google account.... [READ MORE]

Creating a Contact Me page for Blogger Blog

Blogger has added a new widget in their widget page. This widget is a Contact Me widget which allows blog visitors to contact you. This can be added in your blog sidebar or footer. In this tutorial I will tell you to how to add this to a blog page. Create a blank page from Blogger -> Pages -> New Page -> Blank Page Toggle to tab HTML and paste these code in the HTML textarea : Name... [READ MORE]

Using Regex to validate E-mail and Phone Number

Here is the RegEx expression to validate Phone number and E-mail. RegEx expression for validating E-mail : /^(([^<>()[].,;:s@"]+(.[^<>()[].,;:s@"]+)*)|(".+"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/ and the RegEx expression for validating Phone number : /^(?([0-9]{3}))?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/ Here is an example of usage of these RegEx expressions in JavaScript. var emailregex=/^(([^<>()[].,;:s@"]+(.[^<>()[].,;:s@"]+)*)|(".+"))@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(([a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/;var phoneregex=/^(?([0-9]{3}))?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;if (emailregex.test(string)){// valid email}else{// Invalid email}if (phoneregex.test(string)){// valid phone number}else{// Invalid phone number} You can replace string with whatever you want. For Example: if (phoneregex.test($("#phone").val())){// valid phone number}else{// Invalid phone number} Enjoy !... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab