(Msg. 1) Posted: Mon Oct 27, 2008 2:52 pm
Post subject: capturing data on sending emails Archived from groups: microsoft>public>outlook>program_vba (more info?)
Afternoon, is it possible to capture the user's IP address or Hostname
and add it to an email when clicking send?
I only ask as i work on a software deployment team and i get requests
to install software for users and 9times out of 10 they forget to leave
the detail about there machine and sometimes even the software they
want
(Msg. 2) Posted: Mon Oct 27, 2008 2:52 pm
Post subject: RE: capturing data on sending emails [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
You need to handle the Application.ItemSend event in Outlook. For example
put this code in your 'ThisOutlookSession' code window and try it out:-
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Item.Body = Item.Body + vbCrLf & "Sent From " & Environ("computername")
End Sub
If I have solved your problem, please click Yes below. Thanks.
"mdlister" wrote:
>
> Afternoon, is it possible to capture the user's IP address or Hostname
> and add it to an email when clicking send?
>
> I only ask as i work on a software deployment team and i get requests
> to install software for users and 9times out of 10 they forget to leave
> the detail about there machine and sometimes even the software they
> want
>
> Thanks
>
>
>
>
> --
> mdlister
>
(Msg. 3) Posted: Tue Oct 28, 2008 11:21 am
Post subject: Re: capturing data on sending emails [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Thanks, that works really well on my machine, but if i send an email to
someone and they reply is it possible to capture it at there end or is
this not possible?
(Msg. 4) Posted: Tue Oct 28, 2008 2:53 pm
Post subject: Re: capturing data on sending emails [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
A recipient would have to be running your software for that to be possible.
"mdlister" <mdlister.34cf0ee.TakeThisOut@outlookbanter.com> wrote in message
news:mdlister.34cf0ee@outlookbanter.com...
>
> Thanks, that works really well on my machine, but if i send an email to
> someone and they reply is it possible to capture it at there end or is
> this not possible?
>
>
>
>
> --
> mdlister
(Msg. 5) Posted: Wed Nov 05, 2008 5:47 pm
Post subject: Re: capturing data on sending emails [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Ken Slovak wrote:
> A recipient would have to be running your software for that to be possible.
>
> "mdlister" wrote
>>
>> Thanks, that works really well on my machine, but if i send an email to
>> someone and they reply is it possible to capture it at there end or is
>> this not possible?
here's how I do this
1. based on words in subject line "Install Software", I send back an autoreply
2. the autoreply contains a small .exe attachment with directions to run it.
3. when the user runs it, it captures the environ variables and emails results to me
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum