473,761 Members | 9,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.c om';
$to = 'p**********@ho tmal.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 1678

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

Similar topics

3
7669
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
2284
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 T as an int. Proper program behavior relies on that "default constructed" int being zero. That lead me to the following example...
1
3666
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 -install option. It works - ie. it adds the relevant info. to the registry - but it never returns from the call. Access instantly quits! There are no otherr error effects or messages that I can see. So this would make it impractical to use that...
0
1620
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 strCommand = "C:\Blat240\full\blat.exe test.txt -to me@myemail.com" RetVal = Shell (strCommand ,vbHide) /================ If I run the string that I assign to strCommand in my "Run" box, it
18
2563
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 std::vector<Entry>::iterator modelIterator; In a method, I am currently writing, I need to get a pointer to an entry in the vector.. I thought of the following:
1
1742
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
2088
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 mail has to look like the following (Have put the body in double quotes) "The following numbers have been Un-validated for - PARIS 20 misrar 31/05/2007 14:13:52 55 misrar 31/05/2007 14:13:52 75 misrar ...
0
1207
by: monro90682 | last post by:
blat 2000 crack http://cracks.12w.net F R E E
29
1355
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 and side effect of 'i'. But in the former case, will the double use of the array 'a' cause problems? Or will the right operand ('a') of the assignment be evaluated first and then safely assigned to the right operand ('a')? Thanks
0
9376
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9988
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9923
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8813
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3911
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.