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 9165737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:58:34+00:00 2026-06-17T14:58:34+00:00

My website is able to send emails to people. Now what I would like

  • 0

My website is able to send emails to people. Now what I would like to do next is be able to send HTML emails to people who subscribe to my mailing just like I would any other normal email and should they want to unscrubscribe, there is a link to do so. I’ve read up on mail chimp etc but all I want is to send the HTML emails like I would normal emails. Please any guidance would be useful.

  • 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-17T14:58:35+00:00Added an answer on June 17, 2026 at 2:58 pm

    With simple HTML you can’t send emails, you need PHP or any other Server-Side programming language

    Example of HTML email sending with PHP:

    <?php
    $to = "PUT_RECIPIENT_EMAIL_ADDRESS_HERE";
    $subject = "PUT_SUBJECT_HERE";
    $mail_body = '<html>
    <body bgcolor="#573A28" topmargin="25">
    Put HTML content here with variables from PHP if you like
    Variable display Example: ' . $subject . ' 
    </body>
    </html>';
    $headers  = "From:youremail@yoursite.comrn";
    $headers .= "Content-type: text/htmlrn";
    mail($to, $subject, $mail_body, $headers);
    ?>
    

    to use email subscription you need a table in your database wich stores emails who subscribed to your newsletter, if a user hits “unsubscribe” you have to execute a MySQL query to remove it from your database:

    table: subscribed_users(email)

    SQL code to add new users to the newsletter:

    INSERT INTO subscribed_users VALUES 'put_email_to_subscribe_here'
    

    SQL code to remove users from the newsletter:

    DELETE FROM subscribed_users WHERE email = 'put_email_to_unsubscribe_here'
    

    Of course if you don’t know how to use php or mysql, you need to study this two languages in order to do your newsletter subscribing.

    If you don’t want to learn php and mysql you can watch this page, there are some scripts that may help you, but i think you have to learn at least php in order to use them:

    http://www.phpkode.com/projects/category/php-newsletter/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So on my website, people are able to order upgrades by clicking Pay Now
I need to be able to send a file to another website from server-side
So I'm building a podcast website, I'd like to be able to upload songs
[Our website] is very dependent on being able to successfully send email to its
I have a marketplace website which includes listings of student housing. I would like
I am sending out emails from my website using Zend_Mail and Send Grid. I
I am using Microsoft's membership framework on a website. I am able to send
I would like to pursue making a website widget that can allow visitors to
Let's say that I have a website where I'd like users to be able
I need to be able to send emails from Google Apps (my gmail account)

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.