There are many samples at the Redemption Web site that cover situations such
as yours.
If the user has set to have sent items moved to the Sent Items folder that
part's automatic. Here's what Redemption code would look like for doing what
you want:
Dim oMail As Outlook.MailItem
Dim safMail As Redemption.SafeMailItem
Dim oNS As Outlook.NameSpace
Dim oOL As Outlook.Application
Set oOL = CreateObject("Outlook.Application")
Set oNS = oOL.Session
oNS.Logon
Set oMail = oOL.CreateItem(olMailItem)
With oMail
.Subject = "Darivan Reklam (Fakturafil) "
.HTMLBody ="<html> some text here</html>"
.Attachments.Add "C:\Reklam_" & Me!Date.Value & ".txt"
.Save
End With
Set SafMail = CreateObject("Redemption.SafeMailItem")
safMail.Item = oMail
With safMail
.Recipients.Add "(E-Mail Removed)"
.Recipients.ResolveAll
.Send
End With
' release all objects here
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"MusMou" <(E-Mail Removed)> wrote in message
news:39915020-2BC0-4AE5-96D5-(E-Mail Removed)...
> Hi Ken,
>
> What would be the solution?
> I heard about Redemption but there was no dokumentation as a download.
> If possible the code needed to acomplish the task (send a mail and save it
> in SendItems).
> best reguards
> Mustapha