Generate subject line for e-mail

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Generate subject line for e-mail

    My online form collects about 20 data elements from users and e-mails the data
    to 3 e-mail addresses. The subject line of the e-mail that the form generates,
    is "XYZ". No problem.

    I would like data element 7 to appear in the subject line. How do I do that?
    Could anyone point me in the right direction?

    Thanks!

    heuning Guest

  2. Similar Questions and Discussions

    1. change the Subject line in an e-mail
      I'm using a form to collect data from users (this is on my company's intranet). They click on submit to e-mail the data back to me. No problem so...
    2. Defined text field in form -> subject field in e-mail
      Hi, I have a form on my web site which users send to me by mailto-function. I would like the text they write in a particular text field to...
    3. #26192 [NEW]: The mail function out putting extra spaces between each line
      From: bpaulson at chieftain dot com Operating system: Linux Redhat 7.3 PHP version: 4.3.4 PHP Bug Type: Mail related Bug...
    4. mail(): ' Warning: Failed to Connect in ... on line ...'
      Hi everybody, I'm a newbie using PHP4 and Apache 1.3 on Win98. When I launch a script just having this instruction: mail...
    5. HTML mail tactics? Is there a way of designating a new line in ASP without a carriage return?
      > The HTML mails I'm trying to send have ASP code in them. hmmm.... the ASP code won't run, you know. If you mean what I think you mean, that...
  3. #2

    Default Re: Generate subject line for e-mail

    You would have to be using a custom form processing script to get that. Do
    you know what you are using?

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "heuning" <webforumsuser@macromedia.com> wrote in message
    news:eh613e$ihg$1@forums.macromedia.com...
    > My online form collects about 20 data elements from users and e-mails the
    > data
    > to 3 e-mail addresses. The subject line of the e-mail that the form
    > generates,
    > is "XYZ". No problem.
    >
    > I would like data element 7 to appear in the subject line. How do I do
    > that?
    > Could anyone point me in the right direction?
    >
    > Thanks!
    >

    Murray *ACE* Guest

  4. #3

    Default Re: Generate subject line for e-mail

    Hi Murray

    I am not using anything, simply tweaking the HTML. The form does everything I
    need it to do, except I need to find out how to change the subject line
    dynamically...

    Thanks for your help

    heuning Guest

  5. #4

    Default Re: Generate subject line for e-mail

    If your form is emailing the results to three different addresses then you
    are using some script to process the form. What script is that?

    Or, if you don't know, please show me the code for your <form> tag.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "heuning" <webforumsuser@macromedia.com> wrote in message
    news:eh6auj$g1$1@forums.macromedia.com...
    > Hi Murray
    >
    > I am not using anything, simply tweaking the HTML. The form does
    > everything I
    > need it to do, except I need to find out how to change the subject line
    > dynamically...
    >
    > Thanks for your help
    >

    Murray *ACE* Guest

  6. #5

    Default Re: Generate subject line for e-mail

    Hi Murray

    Here is the code for the <form> tag

    <form
    action="mailto:abc@domain.com;def@domain.com;ghi@d omain.com?subject=XYZandThisIs
    WhereIWantToSeeDataElement7" method="post" enctype="text/plain">



    heuning Guest

  7. #6

    Default Re: Generate subject line for e-mail

    See - I didn't know you could do that with a mailto link! 8)

    But - this is a very unreliable way to send your email, since it depends on
    a) the sender having an email client installed, and b) that email client
    responding to the mailto link properly.

    And, by using mailto:, you cannot add any interactive elements to the
    subject line. Sorry.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "heuning" <webforumsuser@macromedia.com> wrote in message
    news:eh7pd0$m7l$1@forums.macromedia.com...
    > Hi Murray
    >
    > Here is the code for the <form> tag
    >
    > <form
    > action="mailto:abc@domain.com;def@domain.com;ghi@d omain.com?subject=XYZandThisIs
    > WhereIWantToSeeDataElement7" method="post" enctype="text/plain">
    >
    >
    >

    Murray *ACE* Guest

  8. #7

    Default Re: Generate subject line for e-mail

    I take that back - if you are using PHP/ASP/CF, etc., you could, e.g.,

    action="mailto:abc@domain.com;def@domain.com;ghi@d omain.com?subject=<?php
    echo(dataelement); ?>" method="post" enctype="text/plain">

    but I'm guessing that's not in the cards for this page.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "heuning" <webforumsuser@macromedia.com> wrote in message
    news:eh7pd0$m7l$1@forums.macromedia.com...
    > Hi Murray
    >
    > Here is the code for the <form> tag
    >
    > <form
    > action="mailto:abc@domain.com;def@domain.com;ghi@d omain.com?subject=XYZandThisIs
    > WhereIWantToSeeDataElement7" method="post" enctype="text/plain">
    >
    >
    >

    Murray *ACE* Guest

  9. #8

    Default Re: Generate subject line for e-mail

    Hi Murray

    This is our departmental website on the company's intranet, so I'm pretty sure
    what e-mail software everyone has installed, and the mailto method works just
    fine!

    Having said that, I appreciate anything I can learn from you, as I am new at
    this business, and experimenting as I go. I don't know what is
    possible/impossible, good practice/bad practice ... etc.

    Why do you say it's not on the cards for this page?

    Thanks

    heuning Guest

  10. #9

    Default Re: Generate subject line for e-mail

    I was guessing you weren't ready for server scripting to process these
    forms.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "heuning" <webforumsuser@macromedia.com> wrote in message
    news:eh8aha$ef4$1@forums.macromedia.com...
    > Hi Murray
    >
    > This is our departmental website on the company's intranet, so I'm pretty
    > sure
    > what e-mail software everyone has installed, and the mailto method works
    > just
    > fine!
    >
    > Having said that, I appreciate anything I can learn from you, as I am new
    > at
    > this business, and experimenting as I go. I don't know what is
    > possible/impossible, good practice/bad practice ... etc.
    >
    > Why do you say it's not on the cards for this page?
    >
    > Thanks
    >

    Murray *ACE* Guest

  11. #10

    Default Re: Generate subject line for e-mail

    ..oO(heuning)
    > This is our departmental website on the company's intranet, so I'm pretty sure
    >what e-mail software everyone has installed, and the mailto method works just
    >fine!
    The problem is that a 'mailto' action is completely undefined. It's not
    covered by any specification. If you want to send the form results in a
    reliable way and with the informations you want, then you _must_ use a
    server-side script. That's the only solution.

    What kind of script to use depends on the capabilities of the server. It
    requires a scripting language like PHP or Perl.

    Micha
    Michael Fesser Guest

  12. #11

    Default Re: Generate subject line for e-mail

    How about Java or JavaScript? Could you give me an example?

    Thanks
    heuning Guest

  13. #12

    Default Re: Generate subject line for e-mail

    Java? I think not.

    Javascript is only functional when the browser has it enabled. It's no more
    reliable than mailto:, really.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "heuning" <webforumsuser@macromedia.com> wrote in message
    news:ehbgab$gnq$1@forums.macromedia.com...
    > How about Java or JavaScript? Could you give me an example?
    >
    > Thanks

    Murray *ACE* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139