Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Modify CC Field (http://www.outlookbanter.com/outlook-vba/19338-modify-cc-field.html)

Kamek June 29th 06 07:17 PM

Modify CC Field
 
Ok heres the story its kind of complex so let me explain it first
before I ask my question.
We have a local exchange server we use for in house email and my boss
will sometimes cc and forward stuff to people in our building and then
want to forward that stuff over to someone outside the building through
our outside email. So then someone gets that email it'll have addresses
only valid on our exchange server and people will reply to them and
have them sent back.
So what I want to do is write a script to change the cc addresses
to when ever a
message is sent to someone outside our exchange server. Is that
possible, and if so can someone give me a bit of code to work with?


Eric Legault [MVP - Outlook] June 29th 06 10:28 PM

Modify CC Field
 
You shouldn't need to use any code at all. If Exchange is configured
correctly, the internal addresses can be protected and outside users can send
e-mail from the Internet to your org by using smart hosts and the SMTP
connector:

How To Configure the SMTP Connector to Link to Internet Domains in Exchange:
http://support.microsoft.com/kb/319426/en-us

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Kamek" wrote:

Ok heres the story its kind of complex so let me explain it first
before I ask my question.
We have a local exchange server we use for in house email and my boss
will sometimes cc and forward stuff to people in our building and then
want to forward that stuff over to someone outside the building through
our outside email. So then someone gets that email it'll have addresses
only valid on our exchange server and people will reply to them and
have them sent back.
So what I want to do is write a script to change the cc addresses
to when ever a
message is sent to someone outside our exchange server. Is that
possible, and if so can someone give me a bit of code to work with?



Kamek July 6th 06 06:04 PM

Modify CC Field
 
Well at this point we cant really do any modification other than
small stuff to our exchange and pdc because we're in the process of
updating our broadcasting systems to digital among a bunch of other
stuff and we only have two tech's to do it. Another problem is the
outside domain we have isnt really something we can play with because
its not really a domain its just a shell for our outside email and a
small webpage thats hosted by our isp if I understand it correctly.
Like I said we've been really bussy and I was just hoping for a quick
fix but vb isnt my language I'm more of a c# guy at this point.
Right now I have a script that just finds insidemail.org and
replaces it with outside.org basicly but I think the problem is I'm
using find and replace on that field but when I put someone in the cc
field it just displays their name out of the GAL and I think thats
whats messing it up.
Anyway I also wanted to ask if there was a .net assembly or
something for outlook, or any way I could do a script that executes on
send using .net?


Eric wrote:
You shouldn't need to use any code at all. If Exchange is configured
correctly, the internal addresses can be protected and outside users can send
e-mail from the Internet to your org by using smart hosts and the SMTP
connector:

How To Configure the SMTP Connector to Link to Internet Domains in Exchange:
http://support.microsoft.com/kb/319426/en-us

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Kamek" wrote:

Ok heres the story its kind of complex so let me explain it first
before I ask my question.
We have a local exchange server we use for in house email and my boss
will sometimes cc and forward stuff to people in our building and then
want to forward that stuff over to someone outside the building through
our outside email. So then someone gets that email it'll have addresses
only valid on our exchange server and people will reply to them and
have them sent back.
So what I want to do is write a script to change the cc addresses
to when ever a
message is sent to someone outside our exchange server. Is that
possible, and if so can someone give me a bit of code to work with?




Eric Legault [MVP - Outlook] July 6th 06 10:00 PM

Modify CC Field
 
There's tons of resources on programming Outlook with .NET; see the 'Building
COM Add-ins with VB.NET' section he

Developer Learning Center for Microsoft Outlook:
http://www.outlookcode.com/d/index.htm

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Kamek" wrote:

Well at this point we cant really do any modification other than
small stuff to our exchange and pdc because we're in the process of
updating our broadcasting systems to digital among a bunch of other
stuff and we only have two tech's to do it. Another problem is the
outside domain we have isnt really something we can play with because
its not really a domain its just a shell for our outside email and a
small webpage thats hosted by our isp if I understand it correctly.
Like I said we've been really bussy and I was just hoping for a quick
fix but vb isnt my language I'm more of a c# guy at this point.
Right now I have a script that just finds insidemail.org and
replaces it with outside.org basicly but I think the problem is I'm
using find and replace on that field but when I put someone in the cc
field it just displays their name out of the GAL and I think thats
whats messing it up.
Anyway I also wanted to ask if there was a .net assembly or
something for outlook, or any way I could do a script that executes on
send using .net?


Eric wrote:
You shouldn't need to use any code at all. If Exchange is configured
correctly, the internal addresses can be protected and outside users can send
e-mail from the Internet to your org by using smart hosts and the SMTP
connector:

How To Configure the SMTP Connector to Link to Internet Domains in Exchange:
http://support.microsoft.com/kb/319426/en-us

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Kamek" wrote:

Ok heres the story its kind of complex so let me explain it first
before I ask my question.
We have a local exchange server we use for in house email and my boss
will sometimes cc and forward stuff to people in our building and then
want to forward that stuff over to someone outside the building through
our outside email. So then someone gets that email it'll have addresses
only valid on our exchange server and people will reply to them and
have them sent back.
So what I want to do is write a script to change the cc addresses
to when ever a
message is sent to someone outside our exchange server. Is that
possible, and if so can someone give me a bit of code to work with?






All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com