Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / April 2004

Tip: Looking for answers? Try searching our database.

How do I change email address of sender when I mail out of word?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam4X5 - 28 Apr 2004 02:36 GMT
When I mail out of Word to a mail recepient one of the email addresses on my ISP list of email addresses appears next to my name and is read by the recepient.  I want another email address on my ISP list to appear next to my name when mailing documents out of Word.  How can I make this switch?
Doug Robbins - Word MVP - 28 Apr 2004 04:07 GMT
This was posted recently

Quote
I did some investigating and discovered a .NET method (framework 1.1) that
bypasses Outlook altogether, as long as you can know the address of your
SMTP server. Takes one reference and two lines of code. Sweet.

'First add a reference to System.Web

System.Web.Mail.SmtpMail.SmtpServer = "SMTP Server Name"

System.Web.Mail.SmtpMail.Send(from:="SteveLang@trash.net",
to:="slang@noway.nohow.not", subject:="Test", messagetext:="This be the
body.")

Steve

> hi Brian,
>
[quoted text clipped - 11 lines]
>         .Body = strMsg 'whatever you want it to be
>         .Attachments.Add strDocPath & strDocName    'the full name and
path
> to the document
>          .Send
[quoted text clipped - 5 lines]
> The watching aspect can be handled with a timer control and a directory
> reference in VB or you could have the e-mail automatically be sent when
the
> document is closed. Then when the Outlook warning appears, you would just
> need to click "Yes" when you are closing the file.
[quoted text clipped - 3 lines]
> e-mail, the user needs to authenticate that action to be a valid one. This
> was put into effect to reduce the ability of worms and viruses to
propagate
> themselves silently through a user's address book. I don't believe this
can
> be worked around.
>
> HTH and have a great day!
>
> Steve
> > I'm looking for a solution to a kinda odd Word document-handling
problem.

> > I work in a lawfirm that generates large amounts of documents that are
> filed
> > to 1 of 3 different judges for further handling by their staff.
> >
> > Any given document will go to 1 judge *only* - based upon which court
the
> > case is filed in.
> >
[quoted text clipped - 6 lines]
> doing
> > the "right-click, send-to, mail recipient, <type the address or select
it
> > from the address book>, Enter" routine gets to be verrrrrrry tedious and
> is
> > a tremendous waste of time.
> >
> > If it'd help, I *can* move the individual documents to separate folders,
1
> > for each judge.
> >
[quoted text clipped - 4 lines]
> > document attached to an individual email (remember: 1-at-a-time), and
> > preferably move the document files to a "storage" folder after
processing,
> > or
> >
[quoted text clipped - 17 lines]
> > 1.  The document *must* be an attachment - not inline text,
> > 2.  The subject line of the message *must* be the filename of the
attached
> > document, and
> > 3.  There can only be 1 document attached to each message
[quoted text clipped - 6 lines]
> >
> > Brian.

Unquote
Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP

> When I mail out of Word to a mail recepient one of the email addresses on my ISP list of email addresses appears next to my name and is read by the
recepient.  I want another email address on my ISP list to appear next to my
name when mailing documents out of Word.  How can I make this switch?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.