Click here to Skip to main content
15,885,961 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: what is camera icon beside image search of google Pin
hosseinDolat12-Sep-12 0:24
hosseinDolat12-Sep-12 0:24 
GeneralRe: what is camera icon beside image search of google Pin
Mohibur Rashid12-Sep-12 1:40
professionalMohibur Rashid12-Sep-12 1:40 
AnswerRe: what is camera icon beside image search of google Pin
Shameel17-Sep-12 5:15
professionalShameel17-Sep-12 5:15 
GeneralRe: what is camera icon beside image search of google Pin
hosseinDolat17-Sep-12 17:43
hosseinDolat17-Sep-12 17:43 
QuestionPHP Email Pin
chandra reinhart11-Sep-12 5:28
chandra reinhart11-Sep-12 5:28 
AnswerRe: PHP Email Pin
User 171649211-Sep-12 9:53
professionalUser 171649211-Sep-12 9:53 
GeneralRe: PHP Email Pin
chandra reinhart11-Sep-12 13:29
chandra reinhart11-Sep-12 13:29 
GeneralRe: PHP Email Pin
User 171649211-Sep-12 22:12
professionalUser 171649211-Sep-12 22:12 
In the php.ini file, have you uncommented
extension=php_openssl.dll 


This you can try
PHP
require("PHPMailer/class.phpmailer.php");


$mailer = new PHPMailer();
$mailer->IsSMTP();
$mailer->Host = 'ssl://smtp.gmail.com:465'; // you could replace gmail with googlemail here
$mailer->SMTPAuth = TRUE;

$mailer->Username = 'username@gmail.com';
$mailer->Password = 'yourpassword';

$mailer->From = 'from@gmail.com';
$mailer->FromName = 'namefrom';
$mailer->Body = "your message";
$mailer->Subject = "subjectname";

$mailer->AddAddress(joeblogs@fredsmith.com);

if(!$mailer->Send()) {
    error_log("Mailer :  error ".$mailer->ErrorInfo)." : $to";
    echo "fail";
}
else {
    echo "sent";
}


modified 1-Aug-19 21:02pm.

GeneralRe: PHP Email Pin
chandra reinhart11-Sep-12 22:47
chandra reinhart11-Sep-12 22:47 
GeneralRe: PHP Email Pin
User 171649212-Sep-12 0:25
professionalUser 171649212-Sep-12 0:25 
QuestionSearch action should be an HTTP GET or a POST? Pin
AlexCode11-Sep-12 0:23
professionalAlexCode11-Sep-12 0:23 
AnswerRe: Search action should be an HTTP GET or a POST? Pin
Eddy Vluggen11-Sep-12 2:16
professionalEddy Vluggen11-Sep-12 2:16 
GeneralRe: Search action should be an HTTP GET or a POST? Pin
AlexCode11-Sep-12 2:47
professionalAlexCode11-Sep-12 2:47 
GeneralRe: Search action should be an HTTP GET or a POST? Pin
Eddy Vluggen11-Sep-12 5:32
professionalEddy Vluggen11-Sep-12 5:32 
AnswerRe: Search action should be an HTTP GET or a POST? Pin
Zamshed Farhan12-Jan-13 15:35
Zamshed Farhan12-Jan-13 15:35 
QuestionHTML table oddity Pin
David Crow10-Sep-12 11:01
David Crow10-Sep-12 11:01 
AnswerRe: HTML table oddity Pin
Peter_in_278010-Sep-12 13:11
professionalPeter_in_278010-Sep-12 13:11 
GeneralRe: HTML table oddity Pin
David Crow11-Sep-12 3:38
David Crow11-Sep-12 3:38 
AnswerRe: HTML table oddity Pin
AspDotNetDev10-Sep-12 13:15
protectorAspDotNetDev10-Sep-12 13:15 
GeneralRe: HTML table oddity Pin
David Crow11-Sep-12 3:44
David Crow11-Sep-12 3:44 
AnswerRe: HTML table oddity Pin
enhzflep10-Sep-12 15:17
enhzflep10-Sep-12 15:17 
QuestionJquery Ajax Pin
chandra reinhart9-Sep-12 18:24
chandra reinhart9-Sep-12 18:24 
SuggestionRe: Jquery Ajax Pin
Mohibur Rashid9-Sep-12 20:21
professionalMohibur Rashid9-Sep-12 20:21 
GeneralRe: Jquery Ajax Pin
chandra reinhart11-Sep-12 4:30
chandra reinhart11-Sep-12 4:30 
QuestionIIS7 configuration error Pin
hariom_soni9-Sep-12 17:07
hariom_soni9-Sep-12 17:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.