Solved

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

Posted on 2004-08-24
10
278 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
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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 125 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 125 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now