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->Subject = 'Verification Mail';

$mail->Body = "<html>


<title>Verification Mail</title>



<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>





$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?

Kemahiran: Android, Mobile App Development, PHP, Sistem Admin

Lihat lagi: 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

Tentang Majikan:
( 19 ulasan ) Kapfenberg, Austria

ID Projek: #20041839

Dianugerahkan kepada:


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

$15 USD dalam sehari
(3 Ulasan)

16 pekerja bebas membida secara purata $26 untuk pekerjaan ini


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

$30 USD dalam 5 hari
(446 Ulasan)

please reply now thanks

$50 USD dalam sehari
(221 Ulasan)

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 Lagi

$20 USD dalam 7 hari
(61 Ulasan)

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 Lagi

$20 USD dalam 7 hari
(13 Ulasan)

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 Lagi

$18 USD dalam sehari
(116 Ulasan)

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 Lagi

$20 USD dalam 7 hari
(30 Ulasan)

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 Lagi

$20 USD dalam 7 hari
(10 Ulasan)

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 Lagi

$50 USD dalam sehari
(6 Ulasan)

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 Lagi

$20 USD dalam 7 hari
(4 Ulasan)

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 Lagi

$25 USD dalam 2 hari
(4 Ulasan)

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 Lagi

$20 USD dalam 2 hari
(1 Ulasan)

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

$20 USD dalam 7 hari
(1 Ulasan)

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 Lagi

$30 USD dalam sehari
(0 Ulasan)

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);

$25 USD dalam sehari
(0 Ulasan)
$25 USD dalam sehari
(0 Ulasan)