View Full Version : Using FORMS... mailto:(Variable?)
Hi,
I'd like to offer a selection, from a drop down list of recipients, to whom the FORM should be emailed.
When using 'mailto:' - is it possible to use a variable to set this?
If so, can anyone suggest some code to demo this please?
Thanks in advance,
N.
Don't use mailto: forms. They're ugly and unreliable. Try something like Mail Maniac (http://www.mail-maniac.com/) instead.
Thanks Twey.
I agree, FORMs are ugly and can be unreliable!
I've just tried Mail Maniac and it works fine - even the attachment facility which is really useful. I will certainly use this service again.
However, the scenario I'm working in requires me to keep the content in-house. Despite the obvious drawbacks to FORMS, I don't think I have any choice other than to make-do. To present my users with 'Mail Maniac' flavoured replies would not go down well, unfortunately. It's a 'company' thing. :p
Are you able to suggest code that would allow for the VAR option within FORMs mailto: xxxxx please?
Thanks again, in advance.
N.
I expect a great ugly popup saying "this program is attempting to send an email" is usually worse - or just "error."
I agree, FORMs are ugly and can be unreliable!Only mailto: forms.
You evidently didn't read that site properly. It allows you to specify a page to redirect to - the user will never even notice the slight detour. I mean it - server-side redirects don't put the address in the address bar. The only way the user would know you were using a remotely-hosted script is if they looked at your page source.
However, the scenario I'm working in requires me to keep the content in-house.If you have a reason to want to do so other than that, you should use a server-side script on your own site.
Under no circumstances do mailto: forms need to be used.
You evidently didn't read that site properly. It allows you to specify a page to redirect to - the user will never even notice the slight detour. .... The only way the user would know you were using a remotely-hosted script is if they looked at your page source.
Yes - I understood the redirect side of things, however, it's the look of the e-mailed form received back - with the 'Mail Mainiac' logo's splashed across it. I don't suppose there's a way of getting around this so there's just a blank template form, do you know? <I appreciate it's a free service and they have to make a living somehow.;) >
Thanks as always,
N.
Ah, I see. No, then, I don't think there is :p
Host your own - PHP even provides a mail() function for just such an emergency.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.