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

Automation to send email from Group box

 
   Home -> Office -> Team Folders RSS
Next:  Using VBA code in ThisOutlookSession - Can I send..  
Author Message
David

External


Since: Mar 08, 2006
Posts: 465



(Msg. 1) Posted: Mon Aug 27, 2007 7:40 am
Post subject: Automation to send email from Group box
Archived from groups: microsoft>public>outlook>teamfolders (more info?)

Hello all,
I'm not getting much support from IT, so my details may be a bit off. I
have had them setup a group email on our exchange server. My Outlook has my
inbox and the group inbox. In access, I have mapped to the group inbox, the
location is on my c drive...\ local\Temp\Inbox

I can modify the To, CC, BCC, Subject and Body of the email. How can I
modify the FROM field so the email shows from the Group and not my personal
email?

Sample code I use for Outlook Automation in Access 2003 VBA.


Set objOutlook = CreateObject("Outlook.Application")

' Create the message.
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)


With objOutlookMsg
' Add the To recipient(s) to the message.


Set objOutlookRecip = .Recipients.Add("David@company.com")
objOutlookRecip.Type = olTo



Any assistance you can provide would be greatly appreciated.

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

External


Since: Oct 17, 2003
Posts: 2977



(Msg. 2) Posted: Mon Aug 27, 2007 11:22 am
Post subject: Re: Automation to send email from Group box [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Is this an Exchange mailbox or a PST file? If it's an Exchange mailbox and
you have send as permissions on it just use the mailbox alias in the From
field. Your admins have to set up the send as permissions. If you don't have
that the best you can do is using SendOnBehalfOf and that will show up as
from you with the sent on behalf of notation in the message.

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


"David" <David RemoveThis @discussions.microsoft.com> wrote in message
news:E4C9C227-6CCC-4BB7-BA9E-9D6BFB28B2EF@microsoft.com...
> Hello all,
> I'm not getting much support from IT, so my details may be a bit off. I
> have had them setup a group email on our exchange server. My Outlook has
> my
> inbox and the group inbox. In access, I have mapped to the group inbox,
> the
> location is on my c drive...\ local\Temp\Inbox
>
> I can modify the To, CC, BCC, Subject and Body of the email. How can I
> modify the FROM field so the email shows from the Group and not my
> personal
> email?
>
> Sample code I use for Outlook Automation in Access 2003 VBA.
>
>
> Set objOutlook = CreateObject("Outlook.Application")
>
> ' Create the message.
> Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
>
>
> With objOutlookMsg
> ' Add the To recipient(s) to the message.
>
>
> Set objOutlookRecip = .Recipients.Add("David@company.com")
> objOutlookRecip.Type = olTo
>
>
>
> Any assistance you can provide would be greatly appreciated.
>
> David
Back to top
Login to vote
David

External


Since: Mar 08, 2006
Posts: 465



(Msg. 3) Posted: Mon Aug 27, 2007 11:22 am
Post subject: Re: Automation to send email from Group box [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thank you for the quick response Ken.


Let's assume I have been setup properly and have send as permissions.


How can I modify the From field?



"Ken Slovak - [MVP - Outlook]" wrote:

> Is this an Exchange mailbox or a PST file? If it's an Exchange mailbox and
> you have send as permissions on it just use the mailbox alias in the From
> field. Your admins have to set up the send as permissions. If you don't have
> that the best you can do is using SendOnBehalfOf and that will show up as
> from you with the sent on behalf of notation in the message.
>
> --
> 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
>
>
> "David" <David DeleteThis @discussions.microsoft.com> wrote in message
> news:E4C9C227-6CCC-4BB7-BA9E-9D6BFB28B2EF@microsoft.com...
> > Hello all,
> > I'm not getting much support from IT, so my details may be a bit off. I
> > have had them setup a group email on our exchange server. My Outlook has
> > my
> > inbox and the group inbox. In access, I have mapped to the group inbox,
> > the
> > location is on my c drive...\ local\Temp\Inbox
> >
> > I can modify the To, CC, BCC, Subject and Body of the email. How can I
> > modify the FROM field so the email shows from the Group and not my
> > personal
> > email?
> >
> > Sample code I use for Outlook Automation in Access 2003 VBA.
> >
> >
> > Set objOutlook = CreateObject("Outlook.Application")
> >
> > ' Create the message.
> > Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
> >
> >
> > With objOutlookMsg
> > ' Add the To recipient(s) to the message.
> >
> >
> > Set objOutlookRecip = .Recipients.Add("David@company.com")
> > objOutlookRecip.Type = olTo
> >
> >
> >
> > Any assistance you can provide would be greatly appreciated.
> >
> > David
>
>
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 2977



(Msg. 4) Posted: Tue Aug 28, 2007 9:14 am
Post subject: Re: Automation to send email from Group box [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Display From and set it to what you want. I have a mailbox named "Sales"
that I have SendAs permissions for, I just enter "Sales" in From and send
the email.

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


"David" <David DeleteThis @discussions.microsoft.com> wrote in message
news:6D61AAAE-8FE1-4AE5-A9DA-512DD60E0FBD@microsoft.com...
> Thank you for the quick response Ken.
>
>
> Let's assume I have been setup properly and have send as permissions.
>
>
> How can I modify the From field?
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Team Folders 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