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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:49:55+00:00 2026-06-17T16:49:55+00:00

I want to send an e-mail with attachment using just html ,can I do

  • 0

I want to send an e-mail with attachment using just html ,can I do that(because I dont have a server just static)?

I want to upload the file and e-mail it not store it, the code below store the file on disk is it possible to send it via mail?

<form action="fileinsert.html" method="post">
<p>
Enter Your Text :<br>
<input type="text" name="textwrite" size="15">
</p>
<p>
Specify your File:<br>
<input type="file" name="datasize" size="30">
</p>
<div>
<input type="submit" value="Send">
</div>
</form>

is this doable with just html?

  • 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-17T16:49:57+00:00Added an answer on June 17, 2026 at 4:49 pm

    No, you can’t do this with pure HTML.

    To send E-Mails you need a PHP-Script on the server which collects the data from your form and send it:

    <?php
    mail($_POST['to'], $ubject, $message);
    ?>
    

    This is just a little example of how using the mail-function and not a functional snippet for your problem, see for more information see mail() function

    You also should have a look at Mail_Mime.

    As Chris Peter says there is more than one way to do it: You can use Ruby, Perl, Python, .NET and even C for accomplishing this task.

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

Sidebar

Related Questions

i want to send mail to any email address, how to do that using
Hi I want to send attachment with mail using javaMailAPI. my code is: public
I am using log4net. When Application gives an error, I want to send e-mail
I am using java to send mail. I want to set the from mail
I'm using System.Net.Mail to send an email message and want to make sure it
I want to send an email with an attachment using the following code (Python
I have been struggling with trying to send an email with an attachment using
I want to send some image files via CakePHP mail. Currently I am using
I want to send booking information through mail in an attachment to add in
I want to send an encrypted and signed mail without using any third-party API.

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.