Javascript/Jquery: Email Address Validation Using Regexp

Saturday, October 22nd, 2011

Email address is mostly the essential form field and to make sure that user entered a valid email address you may need to validate user input before processing. To validate an email address using javascript/Jquery you may use the following code snippet, that validate in email address using regex.

cPanel: How To Disable Email Service Only For a Domain

Friday, October 21st, 2011

Some time you may need to disable a domain's email service only, e.g. you have some non-payment issue with a client and you want to secretly disable email only without suspending the account/site or for some purpose you want to let the site running and just to disable emails. I have ...

Sendmail: How to Clear/Flush Sendmail Queue

Thursday, October 20th, 2011

Some time you want to clear/delete/flush all messages in current sendmail queue. You may follow the instructions below for the purpose.

Sendmail: How to Check Mail Messages in Queue

Thursday, October 20th, 2011

You will probably need to execute the following commands either as root or using the sudo command (depends on settings of your server). In some cases you may need to type the path to sendmail i.e. /usr/sbin/sendmail.

How to Change SMTP Port in Popular Mail Clients

Wednesday, October 19th, 2011

For security reasons your web host may have changed the default SMTP port 25 to some other port number. For such cases when you configure your mail client like outlook, eudora etc you will need to set SMTP port too, Following are the instructions for the different mail clients;