Forum Moderators: coopster & phranque

Message Too Old, No Replies

Blat.exe Syntax Error

The form seems to work, yet it is not delivered.

         

Psychometra

9:18 pm on Oct 1, 2003 (gmt 0)



Using Blat version 1.8.5 through the web host of hostonce.com I am trying to make a contact form:

to submit in form of an email.

The perl/cgi script I have written is:

use CGI qw(param);
$name = param(name);
$email = param(email);
$mailto = "webmaster@mysite.com";
$mailprog = 'blat.exe';
$subject = "Contact Form";
$mailfrom = "feedback\@whateverdomain.com";
$miscbody = "insert some body text here";
############################################################
`blat.exe - -subject $subject -to $mailto -f $mailfrom -body "$miscbody. $email, $name"`;

print <<HTML
content-type: text/html

Then the html result page there-after to display the variables and thankyou page, etc. Now, when I hit the submit button, it displays correctly, but there is never any email delivered to the webmaster@mysite.com address.

Any ideas? Anything wrong with my script?

TJ

[edited by: jatar_k at 9:21 pm (utc) on Oct. 1, 2003]
[edit reason] no urls thanks [/edit]

sugarkane

1:35 pm on Oct 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld Psychometra. Sorry you haven't got a reply, it seems that most here use sendmail or similar rather than blat.

Anyone?

sun818

5:25 pm on Oct 10, 2003 (gmt 0)

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



You could try making blat.exe the full path like c:\perl\blat.exe

Do you have a catchall account where the postmaster e-mails are sent to you? If not, if you have bounce messages, they may be in there.