Modify

#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 on Sep 18, 2008 at 11:42:05 AM.
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, on Sep 9, 2008 at 8:00:13 PM

Version: 3.2.12.0

Automatic ticket cleanup.

comment:2 by Rudi., on Sep 16, 2008 at 11:32:33 AM

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, on Sep 18, 2008 at 11:42:05 AM

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, on Oct 6, 2008 at 9:23:41 PM

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, on Oct 9, 2008 at 7:51:21 PM

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 Jpm, on Oct 14, 2008 at 10:07:12 AM

Owner: set to Jos
Status: newassigned

comment:6 by Jos, on Oct 16, 2008 at 9:02:56 PM

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.