Difference between Stored Procedure and Function in SQL Server

Stored Procedures are pre-compile objects which are compiled for first time and its compiled format is saved which executes (compiled code) whenever it is called. But Function is compiled and executed every time when it is called. For more about stored procedure and function refer the articles Different types of Stored Procedure and Different types…

Tìm hiểu giao thức SMTP

Simple Mail Transfer Protocol (SMTP) là giao thức truyền tải e-mail qua mạng, SMTP cho phép chuyển thông điệp mail từ mail server của người gửi đến mail server của người nhận. Thông điệp mail ở định dạng ASCII 7 bit. SMTP được định nghĩa trong RFC 821, điều chỉnh trong RFC 1123 và mở…

PHPMailer – SMTP ERROR: Password command failed when send mail from my server

A bit late, but perhaps someone will find it useful. Links that fix the problem (you must be logged into google account): https://www.google.com/settings/u/1/security/lesssecureapps https://accounts.google.com/b/0/DisplayUnlockCaptcha https://security.google.com/settings/security/activity?hl=en&pli=1 Some explanation of what happens: This problem can be caused by either ‘less secure’ applications trying to use the email account (this is according to google help, not sure how…