/    Sign up×
Community /Pin to ProfileBookmark

Mail client doesn’t open..HELP!

I have an html form which has a code that goes like this:
<form action=”MAILTO:[email protected]” method=”post” enctype=”text/plain”>

Upon clicking the “Send” button, the mail client must be opened and retrieve all the inputted data. Then the send button of the mail client must be clicked to totally send the mail.

My code doesn’t work that way. When the “send” button on the form is clicked, the mail client wouldn’t open..instead, the data is automatically saved on the outbox/draft. Therefore, I still need to open the mail client, click the outbox folder, and click the message before i could actually edit everything and send the mail.

Im using MS Outlook 2003 as my default mail client.

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@ray326May 28.2007 — As you've discovered, the mailto: pseudo-protocol can't be expected to work correctly on all systems. Try using the get method but the only way to do this right is to do it on the server with a form handler that sends the email.
Copy linkTweet thisAlerts:
@privatevamp_007authorMay 28.2007 — Thanks for the reply, Rey..ive tried using the get method and the only problem is that the inputted data isnt retrieved (all blank)...also tried running it in the server but not with a form handler. i never thought it will be more complicated though...

but are there any other ways without having to use a form handler?
Copy linkTweet thisAlerts:
@FangMay 28.2007 — Thanks for the reply, Rey..ive tried using the get method and the only problem is that the inputted data isnt retrieved (all blank)...also tried running it in the server but not with a form handler. i never thought it will be more complicated though...

but are there any other ways without having to use a form handler?[/QUOTE]

No, a server-side script is the most reliable.
Copy linkTweet thisAlerts:
@privatevamp_007authorMay 29.2007 — Thanks Fang...

But we do not want to send the email via server side script; we want it to pass through outlook. Sendto works fine, except that in outlook 2003, a new message window doesn't pop-up; all you get is a dialog box with a progress bar saying that the email is currently being sent (and yes-no-help buttons; yes to agree sending, no to cancel...)

We want it to pass through outlook so that the users have the option to modify the send, cc, bcc fields, and to place attachments if necessary. Of course we could include those in the webpage itself, but then that would mean our users would have to adapt to another interface.

As a conclusion, we are now thinking of using ASP to generate a file that has an extension of .MSG, then provide it as a link for our users. If they click on that link, it will prompt outlook to open the file as a new message window. The only problem that we see here is that now, we have to research the internal format and specifications of .MSG files.

Any comments or suggestions would be greatly appreciated. Thanks and have a nice day!
Copy linkTweet thisAlerts:
@FangMay 29.2007 — You assume everyone is using Outlook, or a mail client that can read .msg files. Just a bad assumption.

The fact that mailto: gives you a dialog box is only valid for your situation. Others will get a new message window or nothing at all, it's one of the problems when using mailto:

http://www.isolani.co.uk/articles/mailto.html
×

Success!

Help @privatevamp_007 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...