?
Solved

Simple Form to e-mail, but with a twist ;)

Posted on 2004-08-24
10
Medium Priority
?
290 Views
Last Modified: 2010-04-06
I need a basic form to e-mail solution similar to this one http://www.easyasphosting.com/AboutUs.html#contact

Ok, I know this has been asked hundreds of times before but I have a few twists for you,

> I don’t care which language, the simpler the better though ;)
> I will not change my page endings, they are currently .Shtml
> Can I get the e-mail to be HTML type? Plain text is kind of boring ;)

 And the real stumbling block....

> I need to take account of this http://www.easyasphosting.com/SupportUsingEmailInScripts.html but I have no idea how?

I will accept links or preferably code, I will double the points if you could provide a link/code for adding multiple attachments from the clients computer

Hope I am not asking too much, but I have tried similar supposedly 'simple' projects like this and have wasted too many hours hung up on little twists like the above ;)

Many thanks

David
0
Comment
Question by:DavidBirch2dotCom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 1

Expert Comment

by:ageraldnaveen
ID: 11883313
you can use <iFrame> to enable the user to compose a HTML mail, with all the required Bold,Italics, Underline settings with colors.

it also has a method to obtain the HTML representing the composed mail, which can be directly sent to the server-side script to process then on.

supporting attachments, require much coding to parse the MIME multipart content sent from the browser and i have come across some java class libraries to parse multiparts. any search engine should take u there.
0
 
LVL 1

Expert Comment

by:puca01
ID: 11883566
You can use this PHP code: http://www.howtocreate.co.uk/php/dnld.php?file=1&action=0

It will make nice formatted mails and multiple attachements are possible
0
 
LVL 7

Author Comment

by:DavidBirch2dotCom
ID: 11886259
ageraldnaveen> None of that made much sence or is alot of help, could you provide a code example?

puca01> unfortunatly I do not use Php so how do you use it?

---------------------------------------------------------------------

I need a basic form to e-mail solution similar to this one http://www.easyasphosting.com/AboutUs.html#contact

> I don’t care which language, the simpler the better though ;)
> I will not change my page endings, they are currently .Shtml
> I need to take account of this http://www.easyasphosting.com/SupportUsingEmailInScripts.html but I have no idea how?

Thanks

David
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:puca01
ID: 11887890
well the most simple solution, and provided by the most isps and hosting firms, is cgi.

You'll have to check on your isp/hosts site if it is supported and what the path is (like http://www.yourdomain.com/cgi-bin/formmail.pl)

I've picked for you a random isp for the manual, because they're al the same: http://www.simplyweb.net/websetup/mailform/mailform.html

If it is not clear, tell me which isp or host you use
0
 
LVL 7

Author Comment

by:DavidBirch2dotCom
ID: 11891180
*sigh* I could have easily got all the above resources, there is no cgi-scripts on my site, I know there are some asp components installed, a list at the bottom http://www.easyasphosting.com/hosting.html of that page.... however I have no idea how to use them, and I am still no closer to taking account of this
 http://www.easyasphosting.com/SupportUsingEmailInScripts.html - I have no idea how?

puca01 > my webhost is www.easyasphosting.com ;)

As I said this should be a simple little project, however it is TOO simple obviously I dont want some wossy little tutorial for idiots, I would much prefur a huge 20+page tutorial so i know whats going on and how to modify it for my needs..... Alternitivly... could someone please provide some code that will work and an explination of how to use it,  and to get around the spam prevention with my host,

many thanks

DAvid
0
 
LVL 1

Accepted Solution

by:
puca01 earned 500 total points
ID: 11894944
It seems you can use ASP to make emailforms. As listed on your hosts site, there are several methods you can try: 'ASPEmail, Formmail.ASP, CDONTS, Devmailer and more'

http://www.aspemail.com/ seems usefull, because they also mention atatchements at the bottom. There is also a manual provided. Check it out..
0
 
LVL 11

Assisted Solution

by:coopzz
coopzz earned 500 total points
ID: 11915216
OK for starters I believe that if you want to do this yourself you've got some challenges

to attach a file you need to upload the file to the server first which requires access to your providers server, and an uploading object to be able to process the uploaded file

for starters hes a link to the cdonts object that shows how to attach a file
http://www.wdvl.com/Authoring/ASP/FormHandling/cdonts_techniques.html

by the looks of the hosting company they have the bits you need and with aspemail site theres the link for attachments and and example here
http://support.persits.com/email/sendmail.asp
source here.
http://support.persits.com/email/email.zip

for the uploading/attaching you'll may have to ask your provider a few things before you'll be able to do it.

as for the server addresses there will be a property to set on the object that you will finally use..
for aspmail here are the object props and methods
http://www.aspemail.com/manual_object.html
so it would be
objMail.host = "192.168.1.20 "
objMail.Port = 2525

hope this helps and what your looking for
0
 
LVL 7

Author Comment

by:DavidBirch2dotCom
ID: 12104056
ok... I havnt forgoten about this Q just havnt seen an answer that looks like it will take less that a weekend to do, and so far I havnt had a free weekend ;) I will look into it soon... well this weekend
0
 
LVL 7

Author Comment

by:DavidBirch2dotCom
ID: 12445277
arg I knew this would catch up with me ...  Still havnt gotten around to checking out the tips - I will follow your reccomendation  Venabili

Sorry
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question