Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8117107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:03:30+00:00 2026-06-06T04:03:30+00:00

when it is to my website send email out to users so send some

  • 0

when it is to my website send email out to users so send some such bland and grime, so that’s how I’d like to like / get some color on the page that is being a little style.

I talk with a friend and he says it is possible to style email that you send to users who register on the site. so it is not just such a boring email use get.

Hope you understand otherwise you are very welcome to ask me

I hope you can help me

Can you give me a link or tell what I should do so that I can get a nice email to my users.

if ($stmt = $mysqli->prepare('SELECT NULL FROM `brugere` WHERE `email` = ?')) { 
    $stmt->bind_param('s', $email);
    $email = $_POST['email'];
    $stmt->execute();
    $stmt->store_result();
    $count = $stmt->num_rows;
    $stmt->close();
    if ($count > 0)
    {
        $user_found = 1;
    }
    }
    if(!isset($user_found))
    {
    if($_POST["password"] != $_POST["gentag"])
    {
        $errors = 1;
        echo "<li id=\"check_not\">Skrive ens password p&#229; siden..</li>";
    }
    if (empty($_POST['password']) && empty($_POST['gentag']))
    {
        $errors = 1;
        echo "<li id=\"check_not\">Skrive et password p&#229; siden..</li>";
    }

    if(!isset($errors))
    {
    $pb = null;
    include "class.upload.php";
    $handle = new Upload($_FILES['file']);

    if($handle->uploaded)
    {
    //lidt mere store billeder
    $handle->image_resize = true;
    $handle->image_ratio_y = true;
    $handle->image_x = 220;
    $handle->Process("profil/store");

    //til profil billede lign..
    $handle->image_resize = true;
    $handle->image_ratio_crop = true;
    $handle->image_y = 75;
    $handle->image_x = 75;
    $handle->Process("profil");
    $pb = $handle->file_dst_name;

        echo "<h2>Tak for du opret dig hos xx.dk</h2>";
    ?>
    <img src="http://xx.dk/ (...) echo $pb;?>" alt="profilbillede" height="75" width="75"><br />
    <?php
    echo "<li id=\"check_ok\">Dit billede blev upload</li>";
    }
    else
    {
    ?>
    <img src="http://xx.dk/ (...) alt="profilbillede" height="128" width="128"><br />
    <?php
    echo "<li id=\"check_not\">Du upload intet billede. Vi har dog valgt et profil billede for dig.</li>";
    $pb = 'bruger_intet.png';
    }
    if ($stmt = $mysqli->prepare('INSERT INTO `brugere` (`email`, `katogori`, `djnavn`, `profilbillede`, `profiltekst`, `facebook`, `booking`, `password`, `code`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)')) {

    $stmt->bind_param('sissssssi', $email, $katogori, $djnavn, $profilbillede, $profiltekst, $facebook, $booking, $password, $code);

    $email = $_POST['email'];
    $katogori = $_POST["kategori"];
    $djnavn = $_POST["djnavn"];
    $profilbillede = $pb;
    $profiltekst = $_POST["tekst"];
    $facebook = $_POST["facebook"];
    $booking = $_POST["booking"];
    $password = sha1($_POST['password']);
    $code = rand(111111111,999999999);

    $stmt->execute();
    $stmt->close();

    $to      = $email; // den som skal modtage mailen!
    $subject = "Hej xx.dk - Godkendt brugere konto"; // sende fra
    $msg    = "Tak for du vil opret dig på xx.dk!. \n \n For at kun activate din konto skal du bare klikke på dette link her: \n \n http://xx.dk/ (...) \n \n Du kan ikke besvar den her email!!";
    $header = "from:xx.dk - Godkendt Profil!! <support@xx.dk>";                

    if(mail($to, $subject, $msg, $header))
    {
        echo "<li id=\"check_ok\">Tilsendt e-mail til; $to - Tjek email</li>";
    }
        } 
            else
            {
                echo 'Der opstod en fejl i erklæringen: ' . $mysqli->error;
            }
        }
    }
    else {
        echo "<li id=\"check_not\">Der findes allerede en bruger med denne mail - G&#248;r et fors&#248;g mere <a href=\"http://xxx.dk/ (...) igen...</a></li>";
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T04:03:31+00:00Added an answer on June 6, 2026 at 4:03 am

    You can just use HTML if you provide the correct headers.

    Example:

    $header .= "MIME-Version: 1.0\r\n";
    $header .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I send out a newsletter email containing URLs to a https website that then
After user registration, website send activation code to email. something like that. www.domain.com/?activate=<code> I'm
I'm building an application that gives users the option to send out an email
[Our website] is very dependent on being able to successfully send email to its
i have downloaded Swift Mailer from their website and try to send simple email
My website example1.com is hosted on host.example2.com and when I send an email message
I'm trying to setup an email form to send feedback from my website, here
I am trying to send a website my username or password using some jar
I need to send a string to a website and get back a result.
I'd like to send data to browser from server (website). For example on SO

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.