Terminé

Problems with sending verification mail in php api

On my php api for an android app I use PHPMailer() ([login to view URL])

for sending verification mails.

$mail = new PHPMailer(true);

$to = GTG_security($_REQUEST['email']);

try {

$mail->SMTPDebug = 4;

$mail->Host = '[login to view URL]';

$mail->SMTPAuth = true;

$mail->Username = 'info@[login to view URL]';

$mail->Password = '*******';

$mail->SMTPSecure = 'ssl';

$mail->Port = 587;

$mail->setFrom('info@[login to view URL]', '[login to view URL]');

$mail->addAddress("$to", ".$first_name.");

$mail->isHTML(true);

$mail->Subject = 'Verification Mail';

$mail->Body = "<html>

<head>

<title>Verification Mail</title>

</head>

<body>

<h4><b>Hello ".$first_name." ".$last_name."</b></h4>

<p>Please click Below link to Verify Your Account</p><br>

<a href='".$SITE_URL."/webservices/[login to view URL]".$last_inserted_id."'>Click Here...</a><br><br>

<h4><b>Thanks.</b></h4>

</body>

</html>";

$mail->send();

$json = array("status" => 1);

}

Problem is that mails are just received for gmail registrated accounts, but flagged as spam and do not trust,...

I tried for example [login to view URL] and [login to view URL] Registration, there it does not work.

Maybe someone knows the reason?

Compétences : Android, Mobile App Development, PHP, Administration Système

en voir plus : sending mail php, php sending html mail facebook mail, php sending html mail, email api php, mail.php download, php send email form, php mailer, php send email, smtp mail php code, mailgun php send email, user registration with email verification in php, fast sending mail php, php api getting contacts sending email, sending mail php method, php api mail, sending google mail api php, sending message using php facebook api, php send mail gmail api, media temple sending mail php, sending attachment mail php

Concernant l'employeur :
( 19 commentaires ) Kapfenberg, Austria

Nº du projet : #20041839

Décerné à:

stringnick

Hi i know problem (with auto detected mails as spam) and can show how solve it, pm me, if u have any questions.

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(3 Commentaires)
2.9

16 freelance font une offre moyenne de $26 pour ce travail

tlchung

I can setup dkim, spf for you. I am a skilled hosting admin with over 10 years experience. let discuss more via private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(446 Commentaires)
7.4
microwebtechs

please reply now thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(221 Commentaires)
6.5
an1566706

hi i read the discription of your project ..............and am so excited to work on it we are full group consist of qualification designer & developer,we have high expert to compleate your project .......in a prof Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(61 Commentaires)
6.4
xudongwang97

Dear sir I have read requirements of your project with great care and I am very interested. I think that I am the right person for the job. I am a Android and Web(PHP, Javascript) Backend Expert and have full experien Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(13 Commentaires)
6.1
jamesmartin81

We have experience of Website in PHP, Laravel, CodeIgnitor, Wordpress, Opencart, Woocommerce . We also have experience of making Android,Window and iphone application with ionic & phonegap. Benefits in working with Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(116 Commentaires)
5.9
amitbanerjee2812

Dear Hiring Manager, I read your job description and I am confident that I can exceed your expectations. I am a professional programmer on PHP+MySQL+WordPress. Here is few recent work for website development : crm.n Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(30 Commentaires)
5.4
baphpwordress

Hello Professional !!!! Thanks for sharing your requirement here at Freelancer and I will be more than happy to help you. Let me share with you my expertise. I represent a company which holds an esteemed & reputed Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(10 Commentaires)
4.0
Zhangtao820801

Hi, nice to meet you. I read your project description and I am very interested in your project. I can resolve the problem within 1 hr. I am a full stack developer who has 10+ years of experience. I'm looking forwar Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)
4.0
noahgrey007

Hey, I am Noah, I've carefully gone through your posted job and I believe that I can easily work on your posted job. I ’m an expert Software Engineer with more than 8 years experiences in the field of development. I am Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(4 Commentaires)
2.3
rakibmsnc

Hello There, Hope you’re having a great day. I would like to assure you that I’ve read the detail thoroughly. I’ve done the very similar task before and very much eager to do this task for you as well. I am available Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(4 Commentaires)
3.2
Aezzat1997

Hello Sir, I'm a FullStack software engineer with 4+ years of experience working on multiple high traffic solutions. I've worked on 50+ project throughout my career, Last High traffic projects that I've worked on Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(1 Évaluation)
0.8
navelatif

Hi, This is not a generic bid, I have understood that what you are looking for. I can do this within a couple of days, Let me know if you are interested so we can move forward. Thanks, Naveed

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(1 Évaluation)
0.2
gazalolubrahim

Portfolio: [login to view URL] Cv:[login to view URL] With a Bachelor’s Degree in Electronic Engineering, hands-on experience creating and implementing software applications, and the ability to d Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
Santa360

If you are using a custom RegisterController you should be able to call $user->sendEmailVerificationNotification(); this in turn calls the $this->notify(new Notifications\VerifyEmail);

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0