David Beahan | 8 May 2013 08:18
Picon
Favicon

calling from within app opens window?

 

I have written an app (in Clarion) that will send emails by calling Blat.

The call looks like

Blat.exe 20130508_5721340.txt -to qgr81983 <at> hotmail.com -s "Overdue Order
No.P044737" -q

I want to run my app from windows scheduler when user is NOT logged on.

For this to work my app must not open any windows.

My problem is that every call to Blat (as above) opens a window momentarily.
Nothing is written to the window. It is a blank command window. The window
then closes.

When I run my app from the scheduler it hangs at first window (i.e. call to
Blat) because it cannot open a window.

How to have Blat run without opening a window?

Running Blat on Windows 8 x64 with all the latest updates.

Thanks,

db

[Non-text portions of this message have been removed]

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net

bjtknight | 19 Apr 2013 17:40
Picon
Favicon

Connecting to Exchange Server

 

I have been running BLAT! for the last 7 years or so. It sends close to 100 emails a day.

I recently found out the institution is in the process of changing their mail server to exchange. The old server is scheduled to be retired by the end of the year (so the clock is ticking).

I just tried to create a Blat profile connecting to the server and it was unsuccessful...has anyone had success with communicating with an exchange server?

Thanks
Brian

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net

Chip | 16 Apr 2013 06:50
Picon
Favicon

Daily Digest test

 

Please ignore, I am just trying to find out if the daily digest is working,
at last for some folks.

Thanks,
Chip

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net

Jim | 8 Apr 2013 19:15

Using the -html option

 

Hi,

I have been using Blat for many years and it works well with one exception. When sending emails to Comcast customers they bounce with an error about 8 bit characters. Most of the time I can remove the extra characters and it works great. One client called about the problem and we could not find an error.

I decided to try and remove the last tag on the output line which is -html and all of a sudden Comcast received the message with no problems.

What does the -html option do and do I really need it to send out HTML based emails? We send using the BLAT.DLL program.

Thanks again for a great product. My clients (all nonprofits) really appreciate it.

Jim Gelles
Membership Management Services
818/988-0008

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net

blat | 7 Apr 2013 20:13
Picon

New file uploaded to blat

 


Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the blat
group.

File : /BLAT_Comparison.pdf
Uploaded by : robhuston <at> rocketmail.com <rob.huston <at> rindahl.com>
Description : Comparison of features by blat version.

You can access this file at the URL:
http://groups.yahoo.com/group/blat/files/BLAT_Comparison.pdf

To learn more about file sharing for your group, please visit:
http://help.yahoo.com/l/us/yahoo/groups/original/members/web/index.html
Regards,

robhuston <at> rocketmail.com <rob.huston <at> rindahl.com>


__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (65)
Recent Activity:
--
Homepage:
  http://www.blat.net

namtog | 7 Apr 2013 02:45
Picon
Favicon

tinyapps Blat example

 

Greetings,

This weeks edition of http://tinyapps.org/blog has a
interesting (IMHO) example using Blat and a windows
port of grep.

This is specific for SyncToy, could easily be modified
for other apps.

Emailing results from Windows XP Scheduled Tasks
The Windows 7 Task Scheduler includes a built-in email option, something XP doesn't offer. A simple workaround is to use blat and a batch file. We'll use a SyncToy scheduled task in this example.

Schedule a SyncToy backup job (see "Schedule SyncToy" in the included help file for details)

Throw blat and grep into C:\Windows (or anywhere in your PATH)
Create a batch file (e.g., C:\scripts\email.bat) which contains something like this:
schtasks /query /fo list /v | findstr /i "Result: TaskName: Last" | grep SyncToy -A 2 | blat -f admin <at> example.org -to user <at> example.org -s "SyncToy task result" -serverSMTP mail.example.org
Schedule email.bat to run daily. You'll start receiving emails that look something like this:
TaskName: SyncToy
Last Run Time: 12:30:00, 4/2/2013
Last Result: 0

Grep http://unxutils.sourceforge.net/
SyncToy http://www.microsoft.com/en-us/download/details.aspx?id=15155

Look for this in;
http://tech.groups.yahoo.com/group/blat/files/Other/

Namtog

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net

blat | 7 Apr 2013 02:44
Picon

New file uploaded to blat

 


Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the blat
group.

File : /Other/SyncToy.zip
Uploaded by : namtog <namtog <at> yahoo.com>
Description : SyncToy

You can access this file at the URL:
http://groups.yahoo.com/group/blat/files/Other/SyncToy.zip

To learn more about file sharing for your group, please visit:
http://help.yahoo.com/l/us/yahoo/groups/original/members/web/index.html
Regards,

namtog <namtog <at> yahoo.com>


__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (64)
Recent Activity:
--
Homepage:
  http://www.blat.net

bea | 3 Apr 2013 20:44
Picon
Favicon

blat to and cc question

 

Hi,
When I send a blat email with an invalid To address and a cc to myself
I get the cc even if the To failed. I have to look in the log to see that the To email failed.
However, for another blat install,a similar situation - gets a failed To in the log but they do not get the CC'd mail.
so why is blat behaving differently? any suggestions?
Thanks!

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net

anthony.descenzo | 3 Apr 2013 14:58

Blat email limitation?

 

Hi all,

This is my first post here, I am a new member yay!

So we are using Blat 2.0 here on a windows 2003 r2.

I am posting here because I wanted to inquire about a possible limitation to the number of emails blat could handle at a time.

I am using this program to email pdf attached statements to customers, and as the number of customers on this process increased, the number of complaints that email were not being recieved increased.

Or first thought was that perhaps our code was not structured properly, however, after further investigation, we proved that the code was working as expected.

The only thing we are left to grasp at is that possibly the number of emails we are sending it too many, and perhaps blat thinks we are spamming or, it just was not designed to handle the number of emails we are trying to shoot out.

We are sending now about 100 - 200 emails out in about 10 minutes.

Here is the blat string, some info omitted to protect the innocent!

\\XXXX\C:\[!]>blat "c:\xxx's statement message.txt" -t "xxx <at> xxxxxxxx.COM" -f "xxx <at> xxxxxx.com" -s "Statement of Account" -attach "F:\[directory]\[file].pdf" -server "xxx.xxx.xxx.xxx"

I do not have the debug trace, but that is because I cannot seem to break it and catch it.

Thanks in advance,
Anthony

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net

troyd999 | 3 Apr 2013 17:42

Quotes being sent in subject line

 

I have been using blat for many years. I recently installed the latest version of blat, but am getting quotes in my subject.

My CLI statments is: blat c:\tmp\body -t "test <at> mydomain.com" -subject "this is my subject" -f "from <at> mydomain.com" -html

When my email comes in, the subject is "this is my subject" instead of this is my subject. I tried single quotes as well and they also get sent. If I remove the quotes, it errors out. The computer is windows xp if that matters.

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net

typhonj | 24 Mar 2013 16:45
Picon
Favicon

Another special characters problem in 311

 


Hi All.

I'm was running 274 dll untill two days ago when I decided to give a try
to 311. Running it out of VBA routine I'm using to send report to
myself.

Always works fine but 311 was refusing to complete it's task because of
special charcters I had in the Path names of few of the files I'm using
which are mainly HTML and Images that are embeded in it

All of this even if I'm putting those path in between double quotes
"C:\. . .\bla bla".

These characters are French É é À à and so on. . .

So that is not too much of a problem, simply decided to replace all
spaces by _ and É é À a by E e A a and it works well but. . .
Still having a problem with those characters if they are embeded into
the email like as example the subject line, they simply didn't show up
properly being replaced by something else. Of course, tried all
different things like encoding/decoding etc, etc but no success!

Here's a copie of the string I'm using when invoking the blat dll;
-BodyF "C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\EmailBody2.html"
-Attach
"C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\_A_Envoyer\EC_LP_2013-03-\
24.pdf" -to xxxxxxxxxxxxx <at> xxxxxxx.ca <mailto:xxxxxxxxxxxxx <at> xxxxxxx.ca>
-bcc xxxxx.xxxxxxx <at> xxxxxx.ca <mailto:xxxxx.xxxxxxx <at> xxxxxx.ca> -alttextf
"C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\EmailBody2.txt" -embed
"C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\Logo1.gif,C:\C:\xxxx\xxxx\
\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\Cadre.png" -f xxxxx.xxxxx <at> xxxxxx.ca
<mailto:xxxxx.xxxxx <at> xxxxxx.ca> -server xxxxx.xxxxx.ca -subject "État
de compte" -html -noh2 -debug -overwritelog -log
"C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\blatdebug.txt"

Here what debug is telling me. . . You'll notice that the "É" char is
replaced by "â•"" right off at run time so this to me shows that
311 is having problem with international characters all the way.

2013.03.24 11:26:45 (Sun)------------Start of Session-----------------
<<<getline<<< 220 xxxxxx.xxxxxxxx.ca -- Server ESMTP (Xxxxxxxx Ltee)
>>>putline>>> EHLO laptop_xxxxx
<<<getline<<< 250-xxxxxx.xxxxxxxx.ca
<<<getline<<< 250-8BITMIME
<<<getline<<< 250-PIPELINING
<<<getline<<< 250-DSN
<<<getline<<< 250-ENHANCEDSTATUSCODES
<<<getline<<< 250-HELP
<<<getline<<< 250-XLOOP 6C5009E30CA72FA6B9D67CAE289E227D
<<<getline<<< 250-ETRN
<<<getline<<< 250-NO-SOLICITING
<<<getline<<< 250 SIZE 35840000
Sending C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\EmailBody2.html to
xxxxxxxxxxxxx <at> xxxxxxxx.ca <mailto:xxxxxxxxxxxxx <at> xxxxxxxx.ca> ,
xxxxxx.xxxxxxx <at> xxxxxxxx.ca <mailto:xxxxxx.xxxxxxx <at> xxxxxxxx.ca>
Subject: â•"tat de compte
Login name is xxxxxx.xxxxxxx <at> xxxxxxxx.ca
<mailto:xxxxxx.xxxxxxx <at> xxxxxxxx.ca>
Embedded binary file:
C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\Logo1.gif
Embedded binary file:
C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\Cadre.png
Attached binary file:
C:\xxxx\xxxx\Documents\Xxxxx_Xxxxxx\_Xxxxxxxx\_X_Xxxxxx\EC_LP_2013-03-24\
.pdf
>>>putline>>> MAIL FROM:<xxxxxx.xxxxxxx <at> xxxxxxxx.ca
<mailto:xxxxxx.xxxxxxx <at> xxxxxxxx.ca> > BODY=8BITMIME
<<<getline<<< 250 2.5.0 Address and options OK.
>>>putline>>> RCPT TO:<xxxxxxxxxxxxx <at> xxxxxxxx.ca
<mailto:xxxxxxxxxxxxx <at> xxxxxxxx.ca> >
<<<getline<<< 250 2.1.5 xxxxxxxxxxxxx <at> xxxxxxxx.ca
<mailto:xxxxxxxxxxxxx <at> xxxxxxxx.ca> OK.
>>>putline>>> RCPT TO:<xxxxxx.xxxxxxx <at> xxxxxxxx.ca
<mailto:xxxxxx.xxxxxxx <at> xxxxxxxx.ca> >
<<<getline<<< 250 2.1.5 xxxxx.xxxxxxx <at> xxxxxxxx.ca
<mailto:xxxxx.xxxxxxx <at> xxxxxxxx.ca> OK.
>>>putline>>> DATA
<<<getline<<< 354 Enter mail, end with a single ".".
<<<getline<<< 250 2.5.0 Ok, envelope id
0MK600GP288OQPA0 <at> VL-VM-MR003.ip.xxxxxxxx.ca
<mailto:0MK600GP288OQPA0 <at> VL-VM-MR003.ip.xxxxxxxx.ca>
>>>putline>>> QUIT
<<<getline<<< 221 2.3.0 Bye received. Goodbye.
2013.03.24 11:26:50 (Sun)-------------End of Session------------------

Guys this is more of an FYI than anything else, I know that you have put
a lot of your time into this and my problem is not too much of a problem
compared with some others. I can live with replacing the messed up char.

Thanks for the greath works :)

[Non-text portions of this message have been removed]

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
--
Homepage:
  http://www.blat.net


Gmane