Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Outlook and bcc

Hi!
I have try this
After my mail setup last line:
msg = msg & "</table"
then i try this
Set objRecip = objMail.Recipients.Add("Mymail")
objRecip.Resolve
If objRecip.Resolved Then
objRecip.Type = olBCC ' 3
End If
addee = "Mymail"
With objMail
.To = addee
.Subject = "Booking"
.HTMLBody = msg
On Error GoTo cancelvalgt
.Send
End With

I get my mail, with addee
But not the Bcc mail
What is wrong here?

Alvin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Outlook and bcc

You should only get one e-mail, not two. BCC just means other people on the
distruibution list won't see your name on the distriobution. It doesn't
change the number of copies of the e-mail that is sent.

"alvin Kuiper" wrote:

Hi!
I have try this
After my mail setup last line:
msg = msg & "</table"
then i try this
Set objRecip = objMail.Recipients.Add("Mymail")
objRecip.Resolve
If objRecip.Resolved Then
objRecip.Type = olBCC ' 3
End If
addee = "Mymail"
With objMail
.To = addee
.Subject = "Booking"
.HTMLBody = msg
On Error GoTo cancelvalgt
.Send
End With

I get my mail, with addee
But not the Bcc mail
What is wrong here?

Alvin

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Outlook and bcc

Ok
But what i want is to send the mail to someone
and send the same mail to another using Bcc
To test it i just use my mail acount
And i have try this

addee = "
With objMail
.To = addee
.BCC = "
.Subject = "Booking"
.HTMLBody = msg
'On Error GoTo cancelvalgt
.Send
End With

So how can i send the same mail using Bcc
To another person.

Alvin

"Joel" skrev:

You should only get one e-mail, not two. BCC just means other people on the
distruibution list won't see your name on the distriobution. It doesn't
change the number of copies of the e-mail that is sent.

"alvin Kuiper" wrote:

Hi!
I have try this
After my mail setup last line:
msg = msg & "</table"
then i try this
Set objRecip = objMail.Recipients.Add("Mymail")
objRecip.Resolve
If objRecip.Resolved Then
objRecip.Type = olBCC ' 3
End If
addee = "Mymail"
With objMail
.To = addee
.Subject = "Booking"
.HTMLBody = msg
On Error GoTo cancelvalgt
.Send
End With

I get my mail, with addee
But not the Bcc mail
What is wrong here?

Alvin

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Outlook and bcc

Ok
But what i want is to send the mail to someone
and send the same mail to another using Bcc
To test it i just use my mail acount
And i have try this

addee = "
With objMail
.To = addee
.BCC = "
.Subject = "Booking"
.HTMLBody = msg
'On Error GoTo cancelvalgt
.Send
End With

So how can i send the same mail using Bcc
To another person.

Alvin
"Joel" skrev:

You should only get one e-mail, not two. BCC just means other people on the
distruibution list won't see your name on the distriobution. It doesn't
change the number of copies of the e-mail that is sent.

"alvin Kuiper" wrote:

Hi!
I have try this
After my mail setup last line:
msg = msg & "</table"
then i try this
Set objRecip = objMail.Recipients.Add("Mymail")
objRecip.Resolve
If objRecip.Resolved Then
objRecip.Type = olBCC ' 3
End If
addee = "Mymail"
With objMail
.To = addee
.Subject = "Booking"
.HTMLBody = msg
On Error GoTo cancelvalgt
.Send
End With

I get my mail, with addee
But not the Bcc mail
What is wrong here?

Alvin

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Outlook and bcc

outlook is smart (no, honest it is!)
it will "recognise" duplicate mail addresses and not sent the addressee more
than one mail. If you put your own address in the TO and the BCC
you'll get the one copy
you don't need to have anything in the TO field. just use the BCC field

"alvin Kuiper" wrote in message
...
Ok
But what i want is to send the mail to someone
and send the same mail to another using Bcc
To test it i just use my mail acount
And i have try this

addee = "
With objMail
.To = addee
.BCC = "
.Subject = "Booking"
.HTMLBody = msg
'On Error GoTo cancelvalgt
.Send
End With

So how can i send the same mail using Bcc
To another person.

Alvin
"Joel" skrev:

You should only get one e-mail, not two. BCC just means other people on
the
distruibution list won't see your name on the distriobution. It doesn't
change the number of copies of the e-mail that is sent.

"alvin Kuiper" wrote:

Hi!
I have try this
After my mail setup last line:
msg = msg & "</table"
then i try this
Set objRecip = objMail.Recipients.Add("Mymail")
objRecip.Resolve
If objRecip.Resolved Then
objRecip.Type = olBCC ' 3
End If
addee = "Mymail"
With objMail
.To = addee
.Subject = "Booking"
.HTMLBody = msg
On Error GoTo cancelvalgt
.Send
End With

I get my mail, with addee
But not the Bcc mail
What is wrong here?

Alvin




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Outlook and bcc

Ok thanks
is working
Now when i send this message
it is from my mail acaount, can i write another
mail acount, on that way so when someone click
on reply then the maill adress i another adress.
alvin


"Patrick Molloy" skrev:

outlook is smart (no, honest it is!)
it will "recognise" duplicate mail addresses and not sent the addressee more
than one mail. If you put your own address in the TO and the BCC
you'll get the one copy
you don't need to have anything in the TO field. just use the BCC field

"alvin Kuiper" wrote in message
...
Ok
But what i want is to send the mail to someone
and send the same mail to another using Bcc
To test it i just use my mail acount
And i have try this

addee = "
With objMail
.To = addee
.BCC = "
.Subject = "Booking"
.HTMLBody = msg
'On Error GoTo cancelvalgt
.Send
End With

So how can i send the same mail using Bcc
To another person.

Alvin
"Joel" skrev:

You should only get one e-mail, not two. BCC just means other people on
the
distruibution list won't see your name on the distriobution. It doesn't
change the number of copies of the e-mail that is sent.

"alvin Kuiper" wrote:

Hi!
I have try this
After my mail setup last line:
msg = msg & "</table"
then i try this
Set objRecip = objMail.Recipients.Add("Mymail")
objRecip.Resolve
If objRecip.Resolved Then
objRecip.Type = olBCC ' 3
End If
addee = "Mymail"
With objMail
.To = addee
.Subject = "Booking"
.HTMLBody = msg
On Error GoTo cancelvalgt
.Send
End With

I get my mail, with addee
But not the Bcc mail
What is wrong here?

Alvin


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Outlook and bcc

For Excel/Outlook 2007 see
http://www.rondebruin.nl/mail/account.htm

For older versions and 2007 you can use

If you want to change the sender name and reply address add this code line

'The receiver can see the original mail address in the properties if he want
.SentOnBehalfOfName = """SenderName"" "





--

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




"alvin Kuiper" wrote in message ...
Ok thanks
is working
Now when i send this message
it is from my mail acaount, can i write another
mail acount, on that way so when someone click
on reply then the maill adress i another adress.
alvin


"Patrick Molloy" skrev:

outlook is smart (no, honest it is!)
it will "recognise" duplicate mail addresses and not sent the addressee more
than one mail. If you put your own address in the TO and the BCC
you'll get the one copy
you don't need to have anything in the TO field. just use the BCC field

"alvin Kuiper" wrote in message
...
Ok
But what i want is to send the mail to someone
and send the same mail to another using Bcc
To test it i just use my mail acount
And i have try this

addee = "
With objMail
.To = addee
.BCC = "
.Subject = "Booking"
.HTMLBody = msg
'On Error GoTo cancelvalgt
.Send
End With

So how can i send the same mail using Bcc
To another person.

Alvin
"Joel" skrev:

You should only get one e-mail, not two. BCC just means other people on
the
distruibution list won't see your name on the distriobution. It doesn't
change the number of copies of the e-mail that is sent.

"alvin Kuiper" wrote:

Hi!
I have try this
After my mail setup last line:
msg = msg & "</table"
then i try this
Set objRecip = objMail.Recipients.Add("Mymail")
objRecip.Resolve
If objRecip.Resolved Then
objRecip.Type = olBCC ' 3
End If
addee = "Mymail"
With objMail
.To = addee
.Subject = "Booking"
.HTMLBody = msg
On Error GoTo cancelvalgt
.Send
End With

I get my mail, with addee
But not the Bcc mail
What is wrong here?

Alvin


  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Outlook and bcc

Hi
Thanks
I can't get it to use a variabel
Dim saelger As String
Dim saelgermail As String
saelgermail = Range("beregn!$d$30").Value
saelger = """SenderName"" & salgermail & "

..SentOnBehalfOfName = saelger

Alvin
"Ron de Bruin" skrev:

For Excel/Outlook 2007 see
http://www.rondebruin.nl/mail/account.htm

For older versions and 2007 you can use

If you want to change the sender name and reply address add this code line

'The receiver can see the original mail address in the properties if he want
.SentOnBehalfOfName = """SenderName"" "





--

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




"alvin Kuiper" wrote in message ...
Ok thanks
is working
Now when i send this message
it is from my mail acaount, can i write another
mail acount, on that way so when someone click
on reply then the maill adress i another adress.
alvin


"Patrick Molloy" skrev:

outlook is smart (no, honest it is!)
it will "recognise" duplicate mail addresses and not sent the addressee more
than one mail. If you put your own address in the TO and the BCC
you'll get the one copy
you don't need to have anything in the TO field. just use the BCC field

"alvin Kuiper" wrote in message
...
Ok
But what i want is to send the mail to someone
and send the same mail to another using Bcc
To test it i just use my mail acount
And i have try this

addee = "
With objMail
.To = addee
.BCC = "
.Subject = "Booking"
.HTMLBody = msg
'On Error GoTo cancelvalgt
.Send
End With

So how can i send the same mail using Bcc
To another person.

Alvin
"Joel" skrev:

You should only get one e-mail, not two. BCC just means other people on
the
distruibution list won't see your name on the distriobution. It doesn't
change the number of copies of the e-mail that is sent.

"alvin Kuiper" wrote:

Hi!
I have try this
After my mail setup last line:
msg = msg & "</table"
then i try this
Set objRecip = objMail.Recipients.Add("Mymail")
objRecip.Resolve
If objRecip.Resolved Then
objRecip.Type = olBCC ' 3
End If
addee = "Mymail"
With objMail
.To = addee
.Subject = "Booking"
.HTMLBody = msg
On Error GoTo cancelvalgt
.Send
End With

I get my mail, with addee
But not the Bcc mail
What is wrong here?

Alvin


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
how to remove the outlook confirm window when use excel to send email from outlook? Tom Cai Excel Programming 3 March 4th 09 03:35 AM
Push Button in Outlook to Change Focus to Outlook Contact List Cole Excel Programming 0 October 25th 06 11:29 PM
Outlook Automation Error Problem - Can't locate Outlook Module Allan P. London[_2_] Excel Programming 1 August 14th 05 10:52 PM
How can I use Outlook express to send mail rather than Outlook by VBA code new.microsoft.com Excel Programming 1 August 1st 05 12:45 PM
Late Binding to Outlook from Excel: Outlook modifies email body Lenny Wintfeld Excel Programming 0 December 12th 04 04:03 PM


All times are GMT +1. The time now is 08:20 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"