WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

capturing data on sending emails

 
   Home -> Office -> Programming VBA RSS
Next:  Deleting an occurence of a recurring appointment ..  
Author Message
mdlister

External


Since: Oct 27, 2008
Posts: 1



(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

Thanks




--
mdlister
Back to top
Login to vote
Alan Moseley

External


Since: Oct 20, 2008
Posts: 51



(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

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk

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
>
Back to top
Login to vote
mdlister

External


Since: Oct 28, 2008
Posts: 1



(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?




--
mdlister
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2977



(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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"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
Back to top
Login to vote
lhhlkh

External


Since: Nov 05, 2008
Posts: 1



(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
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Programming VBA 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support