Results 1 to 6 of 6

Thread: Using FORMS... mailto:(Variable?)

  1. #1
    Join Date
    Oct 2005
    Location
    Liverpool, UK
    Posts
    87
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question 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.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Don't use mailto: forms. They're ugly and unreliable. Try something like Mail Maniac instead.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Oct 2005
    Location
    Liverpool, UK
    Posts
    87
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question

    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.

    Are you able to suggest code that would allow for the VAR option within FORMs mailto: xxxxx please?

    Thanks again, in advance.

    N.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Oct 2005
    Location
    Liverpool, UK
    Posts
    87
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question

    Quote Originally Posted by Twey
    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.

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Ah, I see. No, then, I don't think there is
    Host your own - PHP even provides a mail() function for just such an emergency.
    Last edited by Twey; 02-15-2006 at 05:22 PM.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •