Forum Moderators: open

Message Too Old, No Replies

Sending reply emails from a form

HTML Replies

         

gree_c

3:29 pm on Jul 28, 2003 (gmt 0)

10+ Year Member



I am targeting a market with non standard ASCII text language. I need to be able to send a generic reply with the [name], [email address], [feedback text] to the submitter. How can I do this using HTML programming?

Also is there any way I can send a different message to myself with the same click of the submit button?

takagi

4:31 pm on Jul 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi gree_c, Welcome to WebmasterWorld.

For the Japanese markt, iso-2022-jp character encoding is rather standard for emails. For other countries with double-byte characters you might need to encode in Unicode or other encodings. I'm afraid there is no single answer to this question.

As for the HTML question, you better ask in the forum HTML and Browsers [webmasterworld.com]

gree_c

5:42 pm on Jul 28, 2003 (gmt 0)

10+ Year Member



Thanks
How can I use that encoding to send a generic email to a suscriber? Do I just put that in the text?

bill

3:51 am on Jul 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



How can I do this using HTML programming?
Just set the proper character encoding for the language you're using in the HTML.

For Japanese you might add this to the head:

<meta http-equiv="Content-Type" content="text/html;charset=Shift_JIS">

Also is there any way I can send a different message to myself with the same click of the submit button?
That should be possible. It depends of the particular form-mail CGI script you're using as to how this would work.

gree_c

11:02 am on Jul 29, 2003 (gmt 0)

10+ Year Member



Thanks Bill, but what I am asking is how I can send an HTML email rather than a plain text email back... At the moment I am using this command:

<form action="http://example.com/cgi-bin/cgiemail/formmail2.txt" METHOD=POST name="join mail" id="join mail">

I want to be able to send formmail2.txt AND formmail1.htm

Any suggestions on the comand to use and how to set out the HTML file to be used as the email template?

Cheers....

[edited by: Woz at 11:55 am (utc) on July 29, 2003]
[edit reason] examplified URL [/edit]

killroy

11:13 am on Jul 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That you will have to fix in your cgiemail

you MIGHT try havign a second hidden form with cgiemail/email.htm and submit that via javascript into a hidden frame.

SN

anallawalla

12:32 pm on Aug 1, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Google for

form "html email" script cgi

I saw some results that may help.

Jingle

9:28 am on Aug 11, 2003 (gmt 0)

10+ Year Member



You just need to save formmail2.txt in shift_jis encoding.

Today, if you buy a cp in japan default encoding is shift_jis. Most of people won't have trouble reading it.

Type message with ms word. Then save it as txt file. You will be asked which encoding you want to save in.

Regards,