Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Email - Outmail - From

Hi

I am using the fantastic code as supplied by Ron De Bruin an extract of what
I am using is

With OutMail
.From = strfrm
.To = strto
.CC = strcc
.BCC = strbcc
.Subject = "subject"
.Body = strbody
.Attachments.Add "attached file"
'.Send
'or use
.Display

As my colleagues and I are able to send emails from ourselves, or any
department mailbox that we are permissioned to, I had thought/hoped that my
addition of .From would work wonders.

This is not working.

Is there a way to add the senders/from email address?

Thanks in advance
Richard
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Email - Outmail - From

..From is not a valid argument... Outlook will attach the account email
address as from automatically. It will not show up on an email until it is
actually sent, so if you use the .display or .save arguments you will not see
a from on the email yet.

If I am not mistake, this is a security feature, it would be a bad thing if
someone could automate email to be sent on your behalf but make it look like
it is coming from somone else.

That is my knowledge, I have been working with Outlook and Excel for some
time and the one thing I still cannot get to work properly is to get excel to
open outlook if it is not currently opened.

I hope that helps.

Dean

"Richard" wrote:

Hi

I am using the fantastic code as supplied by Ron De Bruin an extract of what
I am using is

With OutMail
.From = strfrm
.To = strto
.CC = strcc
.BCC = strbcc
.Subject = "subject"
.Body = strbody
.Attachments.Add "attached file"
'.Send
'or use
.Display

As my colleagues and I are able to send emails from ourselves, or any
department mailbox that we are permissioned to, I had thought/hoped that my
addition of .From would work wonders.

This is not working.

Is there a way to add the senders/from email address?

Thanks in advance
Richard

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Email - Outmail - From

Read the tip page
http://www.rondebruin.nl/mail/tips2.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Richard" wrote in message ...
Hi

I am using the fantastic code as supplied by Ron De Bruin an extract of what
I am using is

With OutMail
.From = strfrm
.To = strto
.CC = strcc
.BCC = strbcc
.Subject = "subject"
.Body = strbody
.Attachments.Add "attached file"
'.Send
'or use
.Display

As my colleagues and I are able to send emails from ourselves, or any
department mailbox that we are permissioned to, I had thought/hoped that my
addition of .From would work wonders.

This is not working.

Is there a way to add the senders/from email address?

Thanks in advance
Richard

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Macro how to create email link for the email addresses in aRange or Selection Satish[_2_] Excel Worksheet Functions 8 December 28th 09 03:30 PM
how do you email a portion of a worksheet (range) as an insert into the body of an email? Bruce[_2_] Excel Programming 3 May 31st 07 10:37 PM
can I copy a column of email addresses, paste into email address? Lizizfree New Users to Excel 4 July 20th 06 10:03 PM
Transfer Email addresses from spreadsheet to email address book Beana Excel Discussion (Misc queries) 2 May 30th 06 06:07 PM
Email editor closes when forwarding Excel-embedded email Bambina Setting up and Configuration of Excel 0 March 16th 06 10:45 PM


All times are GMT +1. The time now is 03:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"