
Search In
Hello Coders,
It’s always a need to validate email at user end. Not only this but strong password is also suggested to secure accounts.
Here are snippets to validate if correct email and strong password are entered or not.
//Validat
Hello Readers,
If you want to login the cakephp application using the email or username and password
Use the below code:
$username=$REQUEST['login'];
$email=$REQUEST['login'];
$password=$REQUEST['password'];
Here $REQUEST be the superglobal variab
If you have defined an input field as below:
<aui:input type="text" name="emailId" value="<%= emailId %>" />
then, you can read the value of emailId parameter in action method by the following ways:
1-
HttpServletRequest realRequest
This is a simple C# program that send email to recipient. It uses gmail smtp.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;
using System.Net;
namespace SendEmail
{
class Program
To set the outgoing email servers in OpenERP (Odoo) follow the below steps?
Step-1 Go to settings -> General Settings
Step-2 Click on configure outgoing email servers->Create
Step-4 Description ->Priority ->SMTP Server ->SMTP Port
St
Hello Readers!
if you have a database table "users" which has a field "email". And you are looking for a query that fetch out every email field only which are not null in cakephp
Here is the following code below you can use, and its working fine
Hello Reader's If you need to make ajax request that send the email in backgournd page then you can use the code below:-
$('#submit').click(function() //specify your selector of form
{
$.ajax({
url: sendemail.php, // your action page
In this blog we will see how to send a "Simple Text Email" ?
The Php mail( ) function is used to send Emails in PHP.
There are three main parameters we have to pass for sending a simple email and one is optional parameter.
There 3 parameter are
Hello Reader's! If your mail is contating some attachments then you can use the simplest way to sending the mail with attachments.
Lets see the example below:-
$email = new PHPMailer();
$email->From = 'you@example.com';
$email->FromName
Attach images/pdf/doc to email using Cakephp 2
Hello friends, I am writing this blog, which will help you to attach files to email using Cakephp 2.x. So lets begin with creating function in UsersController or any other controller and write t
