473,287 Members | 1,560 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,287 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 1650

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: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.