Færdiggjort

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?

Evner: Android, Mobile App Development, PHP, System Administrator

Se mere: 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

Om arbejdsgiveren:
( 19 bedømmelser ) Kapfenberg, Austria

Projekt ID: #20041839

Tildelt til:

                                                    stringnick
                                                's Profile Picture"                                                    >
                                                </a>
                                            </figure>
                                        </div>
                                        <div class=
stringnick

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 på 1 dag
(3 bedømmelser)
2.9

16 freelancere byder i gennemsnit $26 på dette job

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.

$30 USD in 5 dage
(446 bedømmelser)
7.4
microwebtechs

please reply now thanks

$50 USD på 1 dag
(221 bedømmelser)
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 Flere

$20 USD in 7 dage
(61 bedømmelser)
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 Flere

$20 USD in 7 dage
(13 bedømmelser)
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 Flere

$18 USD på 1 dag
(116 bedømmelser)
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 Flere

$20 USD in 7 dage
(30 bedømmelser)
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 Flere

$20 USD in 7 dage
(10 bedømmelser)
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 Flere

$50 USD på 1 dag
(6 bedømmelser)
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 Flere

$20 USD in 7 dage
(4 bedømmelser)
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 Flere

$25 USD in 2 dage
(4 bedømmelser)
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 Flere

$20 USD in 2 dage
(1 bedømmelse)
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

$20 USD in 7 dage
(1 bedømmelse)
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 Flere

$30 USD på 1 dag
(0 bedømmelser)
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);

$25 USD på 1 dag
(0 bedømmelser)
0.0
$25 USD på 1 dag
(0 bedømmelser)
0.0