Help with Formatting Forms that send emails

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Help with Formatting Forms that send emails

    I designed a form page with Dreamweaver and set the action to send me an email
    of the content of the form. The only problem is that the email format is in
    plain text and would be difficult for my co-workers to decipher. I am trying
    to find a way to send the contents of the form in a structured professional
    format. It would be great if I could send the info in a format that was set up
    like the form. If anyone could help I would appreciate it.

    Paul_HP Design Guest

  2. Similar Questions and Discussions

    1. ColdFusion to send duplicate emails to sendmail
      A coldfusion script that sends ONE email to ONE person. CF first put the email in the spool folder then submit to sendmail. The spool only has one...
    2. Can't send emails to internal mailbox
      Hi guys, Before our company went through an upgrade, we had Exchange 5.5 and Win2k Server installed on 2 separate servers. At that time, I was...
    3. How do you send html emails
      I have a html file that I need to email to our sales reps. I would like the html to to embedded in the email's body, like newsletter emails we all...
    4. Can't send UTF 8 emails. Keep getting question marks and other chars ... help please
      Compose your mail message as following: ----------------------------------------- <HEAD> <meta http-equiv="Content-Type" content="text/html"...
    5. how to send html emails
      I need to find out how to send html emails. Does anyone have any useful information on how to do this? I have looked it up on the net a bit but I'm...
  3. #2

    Default Re: Help with Formatting Forms that send emails

    On 24 May 2005 in macromedia.dreamweaver.appdev, Paul_HP Design wrote:
    > I designed a form page with Dreamweaver and set the action to send
    > me an email of the content of the form. The only problem is that
    > the email format is in plain text and would be difficult for my
    > co-workers to decipher. I am trying to find a way to send the
    > contents of the form in a structured professional format. It would
    > be great if I could send the info in a format that was set up like
    > the form.
    In general, if you don't want to use an HTML e-mail, you need to do
    something like:

    Sender's address: 123 Main Street
    Sender's City: Anytown USA 12345

    To do this, you need to create the e-mail like:

    PHP:
    $body = 'Sender\'s address: ' . $_POST['streetAddress'] . "\n";
    $body .= 'Sender\'s City: ' . $_POST['city'] . $_POST['zip'] . "\n";

    where \n is the newline character

    ASP/VBScript:
    body = "Sender's address: " & request.Form("streetAddress") & vbCrLf
    body = body & "Sender's city: " & request.Form("city") & request.Form
    ("zip") & vbCrLf

    where vbCrLf is the newline character

    --
    Joe Makowiec
    [url]http://makowiec.net/[/url]
    Email: [url]http://makowiec.net/email.php[/url]
    Joe Makowiec Guest

  4. #3

    Default Re: Help with Formatting Forms that send emails

    to sent how? with action="mailto:john@doe.com" or calling a web app? in
    this case wich server model/language?

    Paul_HP Design wrote:
    > I designed a form page with Dreamweaver and set the action to send me an email
    > of the content of the form. The only problem is that the email format is in
    > plain text and would be difficult for my co-workers to decipher. I am trying
    > to find a way to send the contents of the form in a structured professional
    > format. It would be great if I could send the info in a format that was set up
    > like the form. If anyone could help I would appreciate it.
    >
    Manuel Socarras 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