Cgiemail / Cgiecho - Sends only blank message

free web hosting
Free Web Hosting > Astahost > Hosted Members Support

Cgiemail / Cgiecho - Sends only blank message

Lancer
I'm trying to get FormMail / cgiemail working. To be frank, it's my real reason for using AstaHost. I dropped my previous host because I need this feature. I've been working through http://web.mit.edu/wwwdev/cgiemail/user.html for a few hours trying to get it to work.

In my /home/lancer/public_html I have form_experiment.html (the page to send from) and mytemplate.txt
(click the above two mentioned files to visit them in the flesh wink.gif)

For now, I am not actually trying to email anything, just echo as in the instructions at http://web.mit.edu/wwwdev/cgiemail/user.html

Here is my page...

mytemplate.txt
CODE
To: not.my.real.email@antispam.com
Subject: Email Form thingie

Contact address?    [email]
What do you want to tell me?    [infobox]


form_experiment.html
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Form Mail Experiment</title>
<meta name="generator" content="Bluefish 1.0.7">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
</head>
<body>

<FORM METHOD="POST" ACTION="cgi-bin/cgiecho/mytemplate.txt" NAME="myform">
Please type in your contact address... <INPUT NAME="email"><p>
What do you want to tell me? <INPUT NAME="infobox"><p>
<INPUT TYPE="submit" value="Send e-mail">
</FORM>
<p>
Thanks. Have a nice day.


</body>
</html>



On sending a message, I get the report...
QUOTE
Processed form looks like this:
cgiemail 1.6


...and no actual fields showing. Why? I have checked the spelling against my template and everything. Can someone please tell me where I have gone wrong?

 

 

 


Reply

Lancer
Can someone please look carefully into this for me?

I have been going mad over the forums etc searching and trying all the things people say to do. I have three similar attempts now (my initial plus results of following two different tutorials on the boards)...

http://www.animator.astahost.com/form_experiment.html
with http://www.animator.astahost.com/mytemplate.txt

http://www.animator.astahost.com/form_experiment2.html
with http://www.animator.astahost.com/mytemplate2.txt

http://www.animator.astahost.com/form_experiment3.html
with http://www.animator.astahost.com/mytemplate3.txt


...they all have the same problem. Entries get processed, but all result in a blank form like this...
QUOTE
Processed form looks like this:
------------------------------
cgiemail 1.6

Please help - I really need this service up and running.

Lancer.

 

 

 


Reply

BuffaloHELP
Lance,

I'm sure you found my post on Trap17 regarding CGI mail for all free web hosting members.

http://www.trap17.com/forums/index.php?sho...mp;#entry170547

But as far as I know you have to place full URL so that

HTML
<FORM METHOD="POST" ACTION="http://subdomain.astahost.com/cgi-bin/cgiecho/mytemplate.txt" NAME="myform">


Try that and see if it works.

Also, why not send it by replacing 'cgiecho' with 'cgimail' And be sure to place both HTML and TXT files in the same directory in order to work.

Reply

Lancer
Hey there.

Yes - I did see that page, it was what I had for example3 (above). I just had to edit the clickable hyperlink because all three examples here were leading to my first page.

For some reason - now it's working(!!!) But I never changed anything. Did you fix it behind the scenes?

If so, thanks. Moving on to using the email instead of the echo.

Reply

BuffaloHELP
As per PM, I'm glad your situation was resolved. I had nothing to do with it wink.gif Probably OpaQue got to it first.

CGImail is good. But try looking into a simple submit form with PHP mail(). You can search the web for simple examples. Unlike CGImail for AstaHost, PHP mail() is much more customizable and can switch which email to deliver in a blink.

PHP mail() can be formatted to deliver HTML email (resulting in nice table and colors).

Good luck.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Recent Queries:-
  1. cgiemail not working - 11.38 hr back. (1)
  2. cgimail free hosting with - 37.71 hr back. (1)
  3. cgiecho cpanel - 62.82 hr back. (1)
  4. cgiemail cgiecho - 186.39 hr back. (1)
  5. cgiemail 1.6 subject help - 291.92 hr back. (1)
  6. cgiemail - 311.97 hr back. (1)
  7. adding bin cgiecho to website - 431.04 hr back. (1)
  8. cgiemail cgiecho - 486.03 hr back. (1)
  9. cgimail error page - 507.06 hr back. (1)
  10. cgiecho - 136.75 hr back. (3)
Similar Topics

Keywords : cgiemail, cgiecho, sends, blank, message

  1. Problems With cPanel
    Showing some error message (9)
  2. Problems With PHP/Joomla On Hosted Site
    PHP sevred pages are blank in Firefox, network error in Safari (7)
    I am having some odd problems with my hosted site. They started sometime yesterday. I have not made
    any changes for about two weeks. In Firefox, the index page (index.php) for Joomla comes up blank.
    I can access my Control Panel and can check that the files are there and look correct. No favorites
    icon is displayed either and the page source is empty. In Safari, I get the favorites icon but then
    get a network error and a blank page ("Safari can’t open the page “http://mistymanor.astahost.com/”.
    The error was: “lost network connection” (NSURLErrorDomain:-1005) Please cho....
  3. Weird MySQL Message
    (4)
    wenever i assign priviledges to a MySQL databases, it seems to work properly but this message is
    always there QUOTE bitshift_wforumu (Privileges: ALL PRIVILEGES) Connection Strings
    Perl $dbh = DBI->connect("DBI:mysql:bitshift_wforum:localhost","bitshift_wforumu"," ");
    PHP $dbh=mysql_connect ("localhost", "bitshift_wforumu", " ") or die ('I cannot connect to the
    database because: ' . mysql_error()); mysql_select_db ("bitshift_wforum"); My database
    name is: bitshift_wforum the username is: bitshift_wforumu What does all that maen, it ....

    1. Looking for cgiemail, cgiecho, sends, blank, message






*SIMILAR VIDEOS*
Searching Video's for cgiemail, cgiecho, sends, blank, message
advertisement




Cgiemail / Cgiecho - Sends only blank message