/    Sign up×
Community /Pin to ProfileBookmark

Avoiding Alerter When Form Is Submitted And Ms Outlook Is Open

I am looking for a function or work around to solve the following problem. If you use an email address for the Action value in a form and the user has MS Outlook open in their computer when they hit the submit buttom, an alerter pops up advising them that “[B]This form is being submitted using email. Submitting this form will reveal your email address to the recipient, and will send the form data without encrypting it for privacy. You may continue or cancel this submission.”[/B] If you hit the OK button, another alerter comes up stating [B]“This program is trying to automatically send email on your behalf. Do you want to allow this? If this is unexpected, it may be a virus and you should choose “No”[/B]. I have tried working a script using the onSubmit attribute in place of Action, but have not been successful. I [I]cannot use a CGI [/I] as I have no access to the server’s cgi-bin. I have thought about XML, but not been successfull there either. Any ideas or direction would be greatly appreciated.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@troutAug 10.2005 — I'm afraid theres no way around this in javascript *unless anyone else knows different?* Outlook is displaying that message - hence you can't touch it!

If you have access to some form of other server-side language, PHP, ASP etc. you can create your own email server instance and send the mail from the server.... client side you're stuck ?

HTH

trout
Copy linkTweet thisAlerts:
@felgallAug 10.2005 — Only older browsers support mailto in the form action. Newer browsers must use a server side script to create the email. mailto doesn't work if there isn't an email program linked to the browser either even with those browsers that did support it.
Copy linkTweet thisAlerts:
@emblemAug 10.2005 — you can use a service im holding:

send.inxios.net send e-mails

[b]but be warned that spam is not pemitted and all messages are recorded for spam identification purposes only[/b]

here is a sample Contact Us form:
[code=html]

<form action="http://send.inixos.net/">
<table>
<tr>
<th>
Contact Us:
</th>
</tr>
<tr>
<td>
Subject:
</td>
<td>
<input type="text" name="subject" value="">
</td>
</tr>
<tr>
<td>
Your E-mail:
</td>
<td>
<input type="text" name="from" value="">
</td>
</tr>
<tr>
<td>
Comments:
</td>
<td>
<textarea name="msg" rows="5"></textarea>
</td>
</tr>
<tr>
<td>
<input type="submit" value="Send">
</td>
<td>
<input type="reset" value="Clear">
</td>
</tr>
</table>
<input type="hidden" name="to" value="[email protected]">
</form>
[/code]
×

Success!

Help @unbreachedjock 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.10,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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