473,395 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

blat

is there anyone who has used blat? I have problem when sending a mail
from a cgi-script. Any errors arent displayed on the html-page, but
the mail is not sent. the code looks like this:
#!/usr/local/bin/perl
print "Content-Type: text/plain\n\n";
$from = 't***@hotmail.com';
$to = 'p**********@hotmal.com';
$subject = 'subject';
$message = 'testmail';

open OP,">cgi-bin/lettera";
print OP "MIME-Version: 1.0\n";
print OP "Content-Type: text/plain; charset=ISO-8859-1\n";
print OP "Content-Transfer-Encoding: 8bit\n";
print OP "To: ",$to,"\n";
if ($from) {print OP "From: ",$from,"\n";}
if ($subject) {print OP "Subject: ",$subject,"\n";}
print OP "\n";
print OP $message;
close OP;
system('g:/blat/blat.exe <cgi-bin/lettera');
print "helo?";
thanks in advance

paolo
Jul 19 '05 #1
0 1654

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Yvonne | last post by:
Would like to implement Blat on SQL Server 2000. I'm looking for example syntax for setting up BLAT with xp_cmdshell. TIA
13
by: DaKoadMunky | last post by:
I recently came across some code in a template that default constructed an object of type T to pass to another function... SomeFunction(T()); The code that instantiates that template specifies...
1
by: TC | last post by:
Hi Steve Some time ago I told you about the "blat" SMTP mailer. You said you would look into it. I'm now planning on using it myself. I've tried the DLL version, & am having a problem with the...
0
by: Jay | last post by:
Not sure who is familiar with the blat program, but I would like to send an email using blat by executing a commmand line using the Shell method. here's my code: /================ Dim RetVal...
18
by: silversurfer | last post by:
Ok, this should be fairly easy for most of you (at least I hope so), but not for me: Let us say we have got the following elements: std::vector<Entry> models; //Entry is a struct...
1
by: johnet | last post by:
iam a begginner in asp. i have been given an assignment on to send email with attachments using blat in asp. can any one help me with the codings and explanation.
0
by: misra | last post by:
Hi, I am using a C# code to call blat and send mail. When I send mails with long sentences, the mail automatically is send with multiple lines. However, certain times the body and format of the...
0
by: monro90682 | last post by:
blat 2000 crack http://cracks.12w.net F R E E
29
by: s0suk3 | last post by:
I'm a bit unclear whether a statement such as 'a = a;' causes undefined behavior or some other abnormalities. A statement such as 'a = a;' would definitely cause problems because of the double use...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.