Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/288.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
当有人注册时,欢迎发送php邮件_Php - Fatal编程技术网

当有人注册时,欢迎发送php邮件

当有人注册时,欢迎发送php邮件,php,Php,我试图编写一个php代码,如果有人登录我的网站,它会自动发送欢迎邮件(php文件)。但是我不知道如何将邮件php文件/正文添加到php脚本中,which说 mail() 我的php脚本如下所示: <?php //15 2 2015 session_start(); if(!isset($_SESSION["login"])) header("location:logout.php"); ?> <?php include('contact

我试图编写一个php代码,如果有人登录我的网站,它会自动发送欢迎邮件(php文件)。但是我不知道如何将邮件php文件/正文添加到php脚本中,which说

mail()

我的php脚本如下所示:

<?php 
    //15 2 2015
    session_start();
    if(!isset($_SESSION["login"]))
        header("location:logout.php");
?>
<?php include('contactus-freelancer.php'); ?>
<?php include('../db.php'); ?>
<?php
$email = $_SESSION['email'];
$to = "$email";
$subject = "Welcome mail";

mail ('''what goes here is my question'''');

echo '<a href="Home.php"></a>';
?>

您可以使用,请参阅“发送HTML电子邮件”一节。
在您的问题邮件中(“‘这里是我的问题’”)

PHP邮件函数的格式为

mail($to, $subject, $message, $headers);

请查看PHP文档以获取更多阅读资料。

伙计,我不确定你是否也知道你想要什么,在你的问题上,你会问当用户在你的系统上注册时如何发送电子邮件,但你粘贴在这里的代码与注册无关

通过阅读评论,我假设您希望发送一封带有html模板的电子邮件。我试着编写你的代码,但是太长了,我只做了前300行,其余的你可以自己完成,这里:

        <?php 


             $headers = "MIME-Version: 1.0" . "\r\n";
             $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // set content type to html
             $headers = "From: Your System Name <no-reply@your-system.com> \r\n";




             $message  = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\" id=\"bodyTable\" style=\"table-layout: fixed;max-width:100% !important;width: 100% !important;min-width: 100% !important;\" align=\"center\">";
             $message .="<tr>";
             $message .="<td align=\"center\" valign=\"top\" id=\"bodyCell\">";
             $message .="<table bgcolor=\"#E1E1E1\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" id=\"emailHeader\">";
                    // HEADER ROW
                      $message .="<tr>";
                        $message .="<td align=\"center\" valign=\"top\">";
                               // CENTERING TABLE 
                         $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
                        $message .="<tr>";
                        $message .="<td align=\"center\" valign=\"top\">";
                                           // FLEXIBLE CONTAINER 
                         $message .= "<table border=\"0\" cellpadding=\"10\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">";
                                                $message .= "<tr>";
                                                    $message .="<td valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">";

                                                      // CONTENT TABLE // 
                                                       $message .="<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
                                                       $message .="<tr>";


                                                       $message .="</tr>";
                                                        $message .="</table>";
                                                    $message .="</td>";
                                                $message .="</tr>";
                                            $message .="</table>";
                                            // FLEXIBLE CONTAINER
                                        $message .="</td>";
                                    $message .="</tr>";
                                $message .="</table>";
                              // CENTERING TABLE
                           $message .="</td>";
                        $message .="</tr>";
                        // END

                    $message .="</table>";

                    $message .="<table bgcolor=\"#FFFFFF\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" id=\"emailBody\">";




                            $email = $_SESSION['email'];
                            $sql = "SELECT * FROM fuser WHERE email = '$email' ";
                            $result = $conn->query($sql);
                            if ($result->num_rows > 0) { 

                            while($row = $result->fetch_assoc()) { 


                          $message .="<tr>";
                          $message .="<td align=\"center\" valign=\"top\">";
                                //CENTERING TABLE
                                /*
                                    The centering table keeps the content
                                    tables centered in the emailBody table,
                                    in case its width is set to 100%.
                              */
                                $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"color:#FFFFFF;\" bgcolor=\"#3498db\">";
                                $message .="<tr>";
                                $message  .="<td align=\"center\" valign=\"top\">";

                                            /* FLEXIBLE CONTAINER 

                                                The flexible container has a set width
                                                that gets overridden by the media query.
                                                Most content tables within can then be
                                                given 100% widths.
                                            */

                                           $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">";
                                           $message .="<tr>";
                                           $message .="<td align=\"center\" valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">";

                                                /*   CONTENT TABLE // -->
                                                        <!--
                                                        The content table is the first element
                                                            that's entirely separate from the structural
                                                            framework of the email.
                                                     */
                                                       $message .="<table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"100%\">";
                                                          $message .="<tr>";
                                                         $message .="<td align=\"center\" valign=\"top\" class=\"textContent\">";
                                                        $message .="<h1 style=\"color:#FFFFFF;line-height:100%;font-family:Helvetica,Arial,sans-serif;font-size:35px;font-weight:normal;margin-bottom:5px;text-align:center;\"><small>Hello".strtoupper($row['name'])."</small><br> <br>Welcome to GraduateFreelancers</h1>";

                                                        $message .="<h2 style=\"text-align:center;font-weight:normal;font-family:Helvetica,Arial,sans-serif;font-size:23px;margin-bottom:10px;color:#205478;line-height:135%;\"><small>OUR JOB IS TO FIND YOU A JOB</small></h2>";
                                                        $message .="<div style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-bottom:0;color:#FFFFFF;line-height:135%;\">GraduateFreelancers is India’s one of the growing online career and recruitment resource with its global essencia technology provides relevant profiles to employers and relevant jobs to job-seekers across industry verticals, experience levels and geographies. Best rated by people have registered on the site over largest Indian network.</div>";
                                                                $message .="</td>";
                                                            $message .="</tr>";
                                                        $message .="</table>";
                                                      // CONTENT TABLE 

                                                    $message .="</td>";
                                                $message .="</tr>";
                                            $message .="</table>";
                                            // FLEXIBLE CONTAINER
                                        $message .="</td>";
                                    $message .="</tr>";
                                $message .="</table>";
                               // CENTERING TABLE
                            $message .="</td>";
                        $message.= "</tr>";

                        $message .="<tr mc:hideable>";
                        $message .="<td align=\"center\" valign=\"top\">";
                                // CENTERING TABLE
                         $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
                                    $message .="<tr>";
                                        $message .="<td align=\"center\" valign=\"top\">";
                                            //FLEXIBLE CONTAINER
                                            $message .="<table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">";
                                                $message .="<tr>";
                                                    $message .="<td valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">";


                                                       // CONTENT TABLE

                                                    $message .="</td>";
                                                $message .="</tr>";
                                            $message .="</table>";
                                             // FLEXIBLE CONTAINER
                                        $message .="</td>";
                                    $message .="</tr>";
                                $message .="</table>";
                                 // CENTERING TABLE
                            $message.="</td>";
                        $message .="</tr>";
                      // MODULE ROW




              // MODULE ROW //
                        $message .="<tr>";
                            $message .="<td align=\"center\" valign=\"top\">";
                                //CENTERING TABLE //
                                $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#F8F8F8\">";
                                $message.="<tr>";
                                        $message .="<td align=\"center\" valign=\"top\">";
                                            // FLEXIBLE CONTAINER
                                            $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">";
                                            $message .="<tr>";
                                                    $message .="<td align=\"center\" valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">";
                                                       $message .="<table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"100%\">";
                                                            $message.="<tr>";
                                                                $message .="<td align=\"center\" valign=\"top\">";

                                                                   // CONTENT TABLE
                                                                    $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
                                                                        $message .="<tr>";
                                                                            $message .="<td valign=\"top\" class=\"textContent\">";

                                                                                $message .="<h3 mc:edit=\"header\" style=\"color:#5F5F5F;line-height:125%;font-family:Helvetica,Arial,sans-serif;font-size:20px;font-weight:normal;margin-top:0;margin-bottom:3px;text-align:center;\">Thank You</h3>
                                                                                <div mc:edit=\"body\" style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-left:-25%; margin-bottom:0;color:#5F5F5F;line-height:135%; width:150%;\">Let me take this opportunity to thank you for choosing GraduateFreelancers to provide you the finest opportunities and services. We are proud to welcome satisfied freelancers and look forward to many years of working together.<br><br>If you have any questions about our services, we invite you to get in touch with out customaer care available at <i><b>contact@graduatefreelancers.in</b></i>, and we will be happy to assist you 24/7.</div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                  // CONTENT TABLE -->

                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- // FLEXIBLE CONTAINER -->
                                        </td>
                                    </tr>
                                </table>
                                <!-- // CENTERING TABLE -->
                            </td>
                        </tr>";
                     // MODULE ROW -->


                        // <!-- MODULE ROW // -->
                       $message.="<tr>
                            <td align=\"center\" valign=\"top\">
                                <!-- CENTERING TABLE // -->
                                <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                    <tr>
                                        <td align=\"center\" valign=\"top\">
                                            <!-- FLEXIBLE CONTAINER // -->
                                            <table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">
                                                <tr>
                                                    <td valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">

                                                        <!-- CONTENT TABLE // -->
                                                        <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                                            <tr>
                                                                <td align=\"left\" valign=\"top\" class=\"flexibleContainerBox\">
                                                                    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"210\" style=\"max-width: 100%;\">
                                                                        <tr>
                                                                            <td align=\"left\" class=\"textContent\">
                                                                                <h3 style=\"color:#5F5F5F;line-height:125%;font-family:Helvetica,Arial,sans-serif;font-size:20px;font-weight:normal;margin-top:0;margin-bottom:3px;text-align:CENTER; width:130%;\">Complete your Profile</h3>
                                                                                <div style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-bottom:0;color:#5F5F5F;line-height:135%; width:130%;\">We care about your career more than anyone else, which gives us an opportunity to let you know that a complete profile with uploaded CV gets noticed by Recruiters more than the othere who haven't.</div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td align=\"right\" valign=\"middle\" class=\"flexibleContainerBox\">
                                                                    <table class=\"flexibleContainerBoxNext\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"210\" style=\"max-width: 100%;\">
                                                                        <tr>
                                                                            <td align=\"left\" class=\"textContent\">
                                                                                <h3 style=\"color:#5F5F5F;line-height:125%;font-family:Helvetica,Arial,sans-serif;font-size:20px;font-weight:normal;margin-top:0;margin-bottom:3px;text-align:center; margin-right:-50%; width:180%;\">Upload a Profile picture</h3>
                                                                                <div style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-bottom:0;color:#5F5F5F;line-height:155%; margin-right:-50%; width:180%;\">Recruiters get what they see. And now to help them get to know you better, we requerst you to take a bit effort to upload your profile picture.</div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <!-- // CONTENT TABLE -->

                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- // FLEXIBLE CONTAINER -->
                                        </td>
                                    </tr>
                                </table>
                                <!-- // CENTERING TABLE -->
                            </td>
                        </tr>";
                       // MODULE ROW -->

                     // MODULE ROW //
                        $message .="<tr>
                            <td align=\"center\" valign=\"top\">

                                <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                    <tr style=\"padding-top:0;\">
                                        <td align=\"center\" valign=\"top\">

                                            <table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">
                                                <tr>
                                                    <td style=\"padding-top:0;\" align=\"center\" valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">

                                                        <!-- CONTENT TABLE // -->
                                                        <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"50%\" class=\"emailButton\" style=\"background-color: #3498DB;\">
                                                            <tr>
                                                                <td align=\"center\" valign=\"middle\" class=\"buttonContent\" style=\"padding-top:15px;padding-bottom:15px;padding-right:15px;padding-left:15px;\">
                                                                    <a style=\"color:#FFFFFF;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:20px;line-height:135%;\" href=\"www.graduatefreelancers/freelancerssign/\" target=\"_blank\">LogIn Here</a>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <!-- // CONTENT TABLE -->

                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- // FLEXIBLE CONTAINER -->
                                        </td>
                                    </tr>
                                </table>
                                <!-- // CENTERING TABLE -->
                            </td>
                        </tr>";
                       // MODULE ROW -->
                        // MODULE ROW // -->


                        // MODULE ROW // -->
                       $message .="<tr>
                            <td align=\"center\" valign=\"top\">
                                <!-- CENTERING TABLE // -->
                                <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                    <tr>
                                        <td align=\"center\" valign=\"top\">
                                            <!-- FLEXIBLE CONTAINER // -->
                                            <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">
                                                <tr>
                                                    <td align=\"center\" valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">
                                                        <table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"100%\">
                                                            <tr>
                                                                <td align=\"center\" valign=\"top\">

                                                                    <!-- CONTENT TABLE // -->
                                                                    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                                                        <tr>
                                                                            <td valign=\"top\" class=\"textContent\">
                                                                                <h3 style=\"color:#5F5F5F;line-height:125%;font-family:Helvetica,Arial,sans-serif;font-size:20px;font-weight:normal;margin-top:0;margin-bottom:3px;text-align:center;\">Projects Related to your Streams</h3>
                                                                                <div style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-bottom:0;margin-top:3px;color:#5F5F5F;line-height:135%;\">Now let us get to the business. Here are some paid projects recruiters have posted from past two weeks.</div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                    <!-- // CONTENT TABLE -->

                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- // FLEXIBLE CONTAINER -->
                                        </td>
                                    </tr>
                                </table>
                                <!-- // CENTERING TABLE -->
                            </td>
                        </tr>";




                        mail($email, "Welcome", $message,$headers);
                        ?>

你想要什么不清楚的东西。你能详细描述一下吗?将你的主体分配给php文件中的一个变量,即$msg=“whole body here”;然后在邮件功能之前包含该文件,您就可以获得$msgsay,您可以在我的网站上注册。。该网站将自动向您发送一封欢迎邮件,邮件id…这里是mail in.php代码。。但是,执行向您的邮件id发送邮件的操作所需的php存在问题。。假设我的欢迎信中有“你好”的文字。。现在我应该将该文件添加到上述代码中。我尝试了。。。你刚才说要添加像……
mail(我的整个邮件体)
但是我的邮件正文有很多双撇号,它们会弄乱邮件标签。。像
mail()
可能重复的-请在提问之前做一些研究,因此,有很多问题涉及到这一点,也有很多关于如何发送电子邮件的教程。Shi@ChristopherLaconsay我想你已经理解我的问题了。。这里,如果我使用你的代码。我将收到一封邮件,其中唯一的主体将是“收件人、分包人、邮件、邮件头…”,但我需要上面发布的“邮件脚本”作为主体。。如果您不明白,请回复。谢谢你。我不确定我是否正确理解了你的问题。基本上,如果你想发送HTML,你只需要找到一种方法将其存储在变量(例如$message)中,并将其传递给邮件函数。如果你读了我给你的链接,你就会明白这是怎么做的。我明白了。正如您所看到的,我有很多html代码(在问题中提到过)。。那我该怎么办呢?嗯,我有一个单独的注册代码。。我在问题中没有提到。。。虽然你的回答对我来说很有意义。。我有点怀疑。无论如何。。如果定义一个变量,如
$name='xxx'并在下一步中定义另一个同名变量。比如
$name='yyy'
将覆盖$name的第一个写入值,对吗?如果我是对的。。请告诉我多个$message变量将如何工作。谢谢..$message=“hellow”$信息=“世界”;检查运算符“。”=“组合字符串时使用的运算符,基本上是将看到的多个$message变量连接成一个变量。希望这能回答你的问题,还有一件事。当需要背对背双引号时,您使用“/”。。注意。。如果我把整个剧本都按照你那300行的方式写。。代码会在邮件中以HTML页面的形式自动执行吗?。。。喜欢如果您有像$message=“Hello”这样的脚本。。它应该在邮件中显示为“你好;。。。。。。我知道这是个愚蠢的问题,但我还是想听一听……ThanksIt将在电子邮件中以html格式执行。。。。但您必须在电子邮件标题中将内容类型设置为html,否则它将被视为纯文本$标题。=“内容类型:文本/html;字符集=UTF-8”。“\r\n”;//将内容类型设置为html。别忘了给我的答案投赞成票,如果你觉得它有用,就把它标出来。我还有一个疑问,比如为什么我们不能为多行投票。。像$message=“第1行第2行第3行”@马西维基勒
        <?php 


             $headers = "MIME-Version: 1.0" . "\r\n";
             $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // set content type to html
             $headers = "From: Your System Name <no-reply@your-system.com> \r\n";




             $message  = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"100%\" width=\"100%\" id=\"bodyTable\" style=\"table-layout: fixed;max-width:100% !important;width: 100% !important;min-width: 100% !important;\" align=\"center\">";
             $message .="<tr>";
             $message .="<td align=\"center\" valign=\"top\" id=\"bodyCell\">";
             $message .="<table bgcolor=\"#E1E1E1\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" id=\"emailHeader\">";
                    // HEADER ROW
                      $message .="<tr>";
                        $message .="<td align=\"center\" valign=\"top\">";
                               // CENTERING TABLE 
                         $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
                        $message .="<tr>";
                        $message .="<td align=\"center\" valign=\"top\">";
                                           // FLEXIBLE CONTAINER 
                         $message .= "<table border=\"0\" cellpadding=\"10\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">";
                                                $message .= "<tr>";
                                                    $message .="<td valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">";

                                                      // CONTENT TABLE // 
                                                       $message .="<table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
                                                       $message .="<tr>";


                                                       $message .="</tr>";
                                                        $message .="</table>";
                                                    $message .="</td>";
                                                $message .="</tr>";
                                            $message .="</table>";
                                            // FLEXIBLE CONTAINER
                                        $message .="</td>";
                                    $message .="</tr>";
                                $message .="</table>";
                              // CENTERING TABLE
                           $message .="</td>";
                        $message .="</tr>";
                        // END

                    $message .="</table>";

                    $message .="<table bgcolor=\"#FFFFFF\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" id=\"emailBody\">";




                            $email = $_SESSION['email'];
                            $sql = "SELECT * FROM fuser WHERE email = '$email' ";
                            $result = $conn->query($sql);
                            if ($result->num_rows > 0) { 

                            while($row = $result->fetch_assoc()) { 


                          $message .="<tr>";
                          $message .="<td align=\"center\" valign=\"top\">";
                                //CENTERING TABLE
                                /*
                                    The centering table keeps the content
                                    tables centered in the emailBody table,
                                    in case its width is set to 100%.
                              */
                                $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" style=\"color:#FFFFFF;\" bgcolor=\"#3498db\">";
                                $message .="<tr>";
                                $message  .="<td align=\"center\" valign=\"top\">";

                                            /* FLEXIBLE CONTAINER 

                                                The flexible container has a set width
                                                that gets overridden by the media query.
                                                Most content tables within can then be
                                                given 100% widths.
                                            */

                                           $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">";
                                           $message .="<tr>";
                                           $message .="<td align=\"center\" valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">";

                                                /*   CONTENT TABLE // -->
                                                        <!--
                                                        The content table is the first element
                                                            that's entirely separate from the structural
                                                            framework of the email.
                                                     */
                                                       $message .="<table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"100%\">";
                                                          $message .="<tr>";
                                                         $message .="<td align=\"center\" valign=\"top\" class=\"textContent\">";
                                                        $message .="<h1 style=\"color:#FFFFFF;line-height:100%;font-family:Helvetica,Arial,sans-serif;font-size:35px;font-weight:normal;margin-bottom:5px;text-align:center;\"><small>Hello".strtoupper($row['name'])."</small><br> <br>Welcome to GraduateFreelancers</h1>";

                                                        $message .="<h2 style=\"text-align:center;font-weight:normal;font-family:Helvetica,Arial,sans-serif;font-size:23px;margin-bottom:10px;color:#205478;line-height:135%;\"><small>OUR JOB IS TO FIND YOU A JOB</small></h2>";
                                                        $message .="<div style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-bottom:0;color:#FFFFFF;line-height:135%;\">GraduateFreelancers is India’s one of the growing online career and recruitment resource with its global essencia technology provides relevant profiles to employers and relevant jobs to job-seekers across industry verticals, experience levels and geographies. Best rated by people have registered on the site over largest Indian network.</div>";
                                                                $message .="</td>";
                                                            $message .="</tr>";
                                                        $message .="</table>";
                                                      // CONTENT TABLE 

                                                    $message .="</td>";
                                                $message .="</tr>";
                                            $message .="</table>";
                                            // FLEXIBLE CONTAINER
                                        $message .="</td>";
                                    $message .="</tr>";
                                $message .="</table>";
                               // CENTERING TABLE
                            $message .="</td>";
                        $message.= "</tr>";

                        $message .="<tr mc:hideable>";
                        $message .="<td align=\"center\" valign=\"top\">";
                                // CENTERING TABLE
                         $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
                                    $message .="<tr>";
                                        $message .="<td align=\"center\" valign=\"top\">";
                                            //FLEXIBLE CONTAINER
                                            $message .="<table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">";
                                                $message .="<tr>";
                                                    $message .="<td valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">";


                                                       // CONTENT TABLE

                                                    $message .="</td>";
                                                $message .="</tr>";
                                            $message .="</table>";
                                             // FLEXIBLE CONTAINER
                                        $message .="</td>";
                                    $message .="</tr>";
                                $message .="</table>";
                                 // CENTERING TABLE
                            $message.="</td>";
                        $message .="</tr>";
                      // MODULE ROW




              // MODULE ROW //
                        $message .="<tr>";
                            $message .="<td align=\"center\" valign=\"top\">";
                                //CENTERING TABLE //
                                $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#F8F8F8\">";
                                $message.="<tr>";
                                        $message .="<td align=\"center\" valign=\"top\">";
                                            // FLEXIBLE CONTAINER
                                            $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">";
                                            $message .="<tr>";
                                                    $message .="<td align=\"center\" valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">";
                                                       $message .="<table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"100%\">";
                                                            $message.="<tr>";
                                                                $message .="<td align=\"center\" valign=\"top\">";

                                                                   // CONTENT TABLE
                                                                    $message .="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
                                                                        $message .="<tr>";
                                                                            $message .="<td valign=\"top\" class=\"textContent\">";

                                                                                $message .="<h3 mc:edit=\"header\" style=\"color:#5F5F5F;line-height:125%;font-family:Helvetica,Arial,sans-serif;font-size:20px;font-weight:normal;margin-top:0;margin-bottom:3px;text-align:center;\">Thank You</h3>
                                                                                <div mc:edit=\"body\" style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-left:-25%; margin-bottom:0;color:#5F5F5F;line-height:135%; width:150%;\">Let me take this opportunity to thank you for choosing GraduateFreelancers to provide you the finest opportunities and services. We are proud to welcome satisfied freelancers and look forward to many years of working together.<br><br>If you have any questions about our services, we invite you to get in touch with out customaer care available at <i><b>contact@graduatefreelancers.in</b></i>, and we will be happy to assist you 24/7.</div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                  // CONTENT TABLE -->

                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- // FLEXIBLE CONTAINER -->
                                        </td>
                                    </tr>
                                </table>
                                <!-- // CENTERING TABLE -->
                            </td>
                        </tr>";
                     // MODULE ROW -->


                        // <!-- MODULE ROW // -->
                       $message.="<tr>
                            <td align=\"center\" valign=\"top\">
                                <!-- CENTERING TABLE // -->
                                <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                    <tr>
                                        <td align=\"center\" valign=\"top\">
                                            <!-- FLEXIBLE CONTAINER // -->
                                            <table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">
                                                <tr>
                                                    <td valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">

                                                        <!-- CONTENT TABLE // -->
                                                        <table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                                            <tr>
                                                                <td align=\"left\" valign=\"top\" class=\"flexibleContainerBox\">
                                                                    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"210\" style=\"max-width: 100%;\">
                                                                        <tr>
                                                                            <td align=\"left\" class=\"textContent\">
                                                                                <h3 style=\"color:#5F5F5F;line-height:125%;font-family:Helvetica,Arial,sans-serif;font-size:20px;font-weight:normal;margin-top:0;margin-bottom:3px;text-align:CENTER; width:130%;\">Complete your Profile</h3>
                                                                                <div style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-bottom:0;color:#5F5F5F;line-height:135%; width:130%;\">We care about your career more than anyone else, which gives us an opportunity to let you know that a complete profile with uploaded CV gets noticed by Recruiters more than the othere who haven't.</div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td align=\"right\" valign=\"middle\" class=\"flexibleContainerBox\">
                                                                    <table class=\"flexibleContainerBoxNext\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"210\" style=\"max-width: 100%;\">
                                                                        <tr>
                                                                            <td align=\"left\" class=\"textContent\">
                                                                                <h3 style=\"color:#5F5F5F;line-height:125%;font-family:Helvetica,Arial,sans-serif;font-size:20px;font-weight:normal;margin-top:0;margin-bottom:3px;text-align:center; margin-right:-50%; width:180%;\">Upload a Profile picture</h3>
                                                                                <div style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-bottom:0;color:#5F5F5F;line-height:155%; margin-right:-50%; width:180%;\">Recruiters get what they see. And now to help them get to know you better, we requerst you to take a bit effort to upload your profile picture.</div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <!-- // CONTENT TABLE -->

                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- // FLEXIBLE CONTAINER -->
                                        </td>
                                    </tr>
                                </table>
                                <!-- // CENTERING TABLE -->
                            </td>
                        </tr>";
                       // MODULE ROW -->

                     // MODULE ROW //
                        $message .="<tr>
                            <td align=\"center\" valign=\"top\">

                                <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                    <tr style=\"padding-top:0;\">
                                        <td align=\"center\" valign=\"top\">

                                            <table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">
                                                <tr>
                                                    <td style=\"padding-top:0;\" align=\"center\" valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">

                                                        <!-- CONTENT TABLE // -->
                                                        <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"50%\" class=\"emailButton\" style=\"background-color: #3498DB;\">
                                                            <tr>
                                                                <td align=\"center\" valign=\"middle\" class=\"buttonContent\" style=\"padding-top:15px;padding-bottom:15px;padding-right:15px;padding-left:15px;\">
                                                                    <a style=\"color:#FFFFFF;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:20px;line-height:135%;\" href=\"www.graduatefreelancers/freelancerssign/\" target=\"_blank\">LogIn Here</a>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <!-- // CONTENT TABLE -->

                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- // FLEXIBLE CONTAINER -->
                                        </td>
                                    </tr>
                                </table>
                                <!-- // CENTERING TABLE -->
                            </td>
                        </tr>";
                       // MODULE ROW -->
                        // MODULE ROW // -->


                        // MODULE ROW // -->
                       $message .="<tr>
                            <td align=\"center\" valign=\"top\">
                                <!-- CENTERING TABLE // -->
                                <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                    <tr>
                                        <td align=\"center\" valign=\"top\">
                                            <!-- FLEXIBLE CONTAINER // -->
                                            <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"500\" class=\"flexibleContainer\">
                                                <tr>
                                                    <td align=\"center\" valign=\"top\" width=\"500\" class=\"flexibleContainerCell\">
                                                        <table border=\"0\" cellpadding=\"30\" cellspacing=\"0\" width=\"100%\">
                                                            <tr>
                                                                <td align=\"center\" valign=\"top\">

                                                                    <!-- CONTENT TABLE // -->
                                                                    <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">
                                                                        <tr>
                                                                            <td valign=\"top\" class=\"textContent\">
                                                                                <h3 style=\"color:#5F5F5F;line-height:125%;font-family:Helvetica,Arial,sans-serif;font-size:20px;font-weight:normal;margin-top:0;margin-bottom:3px;text-align:center;\">Projects Related to your Streams</h3>
                                                                                <div style=\"text-align:center;font-family:Helvetica,Arial,sans-serif;font-size:15px;margin-bottom:0;margin-top:3px;color:#5F5F5F;line-height:135%;\">Now let us get to the business. Here are some paid projects recruiters have posted from past two weeks.</div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                    <!-- // CONTENT TABLE -->

                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- // FLEXIBLE CONTAINER -->
                                        </td>
                                    </tr>
                                </table>
                                <!-- // CENTERING TABLE -->
                            </td>
                        </tr>";




                        mail($email, "Welcome", $message,$headers);
                        ?>