Modify

Opened 18 years ago

Closed 17 years ago

#568 closed Feature Request (Rejected)

_INetSmtpMail(): Two features: 1.) email priority, 2.) possibility to add attachments

Reported by: rudi Owned by: Jos
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc: rt.work@…

Description

Hi Develeopers!

It would be great to have two additional things for sending emails from scripts, that supervise things:

1.) define the priority (low, nomal, high)
e.g. Prio=Low for info mails "This ... was OK"
e.g. Prio=High for info mails "This ... went *WRONG*"

2.) a possibility to add attachments.
This would offer an easy way to directly attach log files holding the info what exactly went wrong.

Regards, Rudi.

Attachments (1)

blat262.source.zip (168.8 KB ) - added by Rudi 17 years ago.
The BLAT.EXE source code. I'm 100% lost in it, but maybe it could be helpful for the Developers?

Download all attachments as: .zip

Change History (7)

comment:1 by TicketCleanup, 18 years ago

Version: 3.2.12.0

Automatic ticket cleanup.

comment:2 by Rudi., 17 years ago

Hello.

I just used WireShark to catch what BLAT.EXE is doing when "-priority 1" parameter is set.

No clue if this is the whole story:

Date: Tue, 16 Sep 2008 12:15:38 +0200
From: test@test.de
To: test@test.de
X-MSMail-Priority: High
X-Priority: 1
Priority: urgent
Importance: high
X-Mailer: Blat v2.6.1 w/GSS encryption, a Win32 SMTP/NNTP mailer http://www.blat.net
Message-ID: <01c917e5$Blat.v2.6.1$2a3c0b30$ad0afeebf3a@192.168.188.1>
Subject: Contents of file: Inet.au3
Content-Transfer-Encoding: 8BIT
Content-Type: text/plain; charset=ISO-8859-1

#include-once
#include <Date.au3>
; ------------------------------------------------------------------------------
;
; AutoIt Version: 3.0
; Language:       English
..... (the beginning of INET.AU3 in this packet)

..... (lot of packets)

..... (final packet)

EndIf
$vszString = DllStructCreate("char[" & $iLen & "]", $iszPtr)
If @error Then Return SetError(2, 0, "")
Return SetError(0, $iLen, DllStructGetData($vszString, 1))
EndFunc   ;==>__TCPIpToName_szStringRead

.

I've had a look to INET.AU3, but didn't get all the things it's doing, so I didn't try yet to code it myself :-

Regards, Rudi.

by Rudi, 17 years ago

Attachment: blat262.source.zip added

The BLAT.EXE source code. I'm 100% lost in it, but maybe it could be helpful for the Developers?

comment:3 by anonymous, 17 years ago

This can all be done with the UDF I posted called _INetSmtpMailCom().
I will post an update that supports the Importance setting for an Email.

Jos

in reply to:  3 comment:4 by anonymous, 17 years ago

Replying to anonymous:

This can all be done with the UDF I posted called _INetSmtpMailCom().
I will post an update that supports the Importance setting for an Email.

Thanks, Jos!

Regards, Rudi.

comment:5 by J-Paul Mesnage, 17 years ago

Owner: set to Jos
Status: newassigned

comment:6 by Jos, 17 years ago

Resolution: Rejected
Status: assignedclosed

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.