Solved

Mail from browser

Posted on 2002-06-14
11
165 Views
Last Modified: 2010-04-09
Is there a way to allow visitors to send emails to my pop account directly from a form in the browser?


alex
0
Comment
Question by:gsoldado
  • 4
  • 2
  • 2
  • +2
11 Comments
 
LVL 10

Expert Comment

by:dij8
Comment Utility
It is possible but you must include a method of post and an enctype of text/plain.

<form action="mailto:yourname@yoursite.com" method="post" enctype="text/plain">

Be aware though that the user will get a warning so they can choose not to send it.  They will also be able to go to their email client and edit the email before it is sent.  Do not rely on these emails being completely accurate.  And certainly do not rely on these emails even being sent.

Better options are always server side.  But this is determined by whether that is even an option.
0
 
LVL 12

Expert Comment

by:lexxwern
Comment Utility
or you can use a server side script to mail it to you.

find one here http://cgi.resourceindex.com/
0
 
LVL 17

Expert Comment

by:dorward
Comment Utility
The mailto: action is VERY unreliable. It is highly dependant on the interaction of multiple bits of software on the users system which must all (a) exist and (b) be installed. Estimates place users who CAN NOT use a mailto: form at about 50%.

A server side script is the only feasable way to achieve it, if you can't install server side scripts on your server you can use a third party mailer such as http://www.freedback.com/
0
 
LVL 11

Expert Comment

by:mouatts
Comment Utility
dorward where do you get that 50% figure from?
0
 
LVL 10

Expert Comment

by:dij8
Comment Utility
78% of statistics are made up.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 12

Expert Comment

by:lexxwern
Comment Utility
lol.

but i think dorward point is correct. it should be preferably done serverside.
0
 
LVL 17

Expert Comment

by:dorward
Comment Utility
mouatts: I can't remember where I picked up the figure, but personal experience tends to back it up.
0
 
LVL 10

Accepted Solution

by:
dij8 earned 200 total points
Comment Utility
I totally agree with the idea that mailto: is bad.  I did state that server side is better when it is available.  Sometimes mailto: is the only option though in which case the code I suggested would work as many times as a mailto: link will work (50%, 78%, 23%, whatever).

Here are some details on the mailto: link.  http://developer.netscape.com/viewsource/husted_mailto/mailto.html
While this one suggests why mailto: is bad. http://www.isolani.co.uk/newbie/mailto.html

Outsourcing a serverside mailto: seems like a reasonable possibility.  Suggested by both lexxwern and dorward.  Another link to achieve this is http://www.response-o-matic.com/

gsoldado, I'll assume you are away for the weekend.  But any feedback we can get from you will help us help you more.
0
 
LVL 11

Expert Comment

by:mouatts
Comment Utility
I'd suggest that the percentage of users where a mailto does work depends on who your target audience is.

On an intranet and amongst business users I think that you will find that the working percentage will be very close to 100%.

Start dealing with WEB TV, AOL and people in cybercafes and the percentage will come way down.

So to it is not correct to suggest that it is a bad idea without knowing the environment in which it is being used within.

I have no idea what the percentage in all envronments is and I seriously doubt if anyone else has. 50% however is not credible.

Steve
0
 
LVL 1

Author Comment

by:gsoldado
Comment Utility
Well guys, all comments were just fine, but the option from dij8 is the one that works faster, and really good.

The points are for him, but thanks to all of you.

Thanks dij8
0
 
LVL 10

Expert Comment

by:dij8
Comment Utility
Glad to help.  Thanks for the A.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

728 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

9 Experts available now in Live!

Get 1:1 Help Now