more sendobject-problem info

J

Jean-Paul

Hi,

Still strugling with my sendObject problem.
Have tried some things out so:

Sending to myself is no problem. I work with oulook express and tried
it... no problem (somebody else suggested this may be the problem)

Normaly I use Outlook express, when I do a sendobject command an
outlook-windows opens (no outlook express)

The name of the attachment is in the proper field.
"Te bezoeken2" is send as a HTML file.

When I click on the name of the attached file I get an errormessage
saying (and this I have to translate so syntax could be different)

There is a problem with the network or there is another communication
problem. Check connections and try again.

Again, sending and recieving mail is no problem.

This is my command-line:

DoCmd.SendObject acSendReport, "Te bezoeken2", acFormatHTML,
MP_Setup.Chef, , , "Algemeen overzicht week " & Me!weeknummer & " van "
& MP_Setup.gebruiker, ""


MP_Setup.chef is an email adress... (a correct one)

This is a very important problem I have so please help!!!

Thanks
JP
 
S

strive4peace

Hi Jean-Paul,

here is the syntax for SendObject along with what you have specified:

'SendObject
'[objecttype] --> acSendReport
'[, objectname] --> "Te bezoeken2"
'[, outputformat] --> acFormatHTML
'[, to] --> MP_Setup.Chef
'[, cc]
'[, bcc]
'[, subject] --> "Algemeen overzicht week " & Me!weeknummer & " van "
'[, messagetext]
'[, editmessage]
'[, templatefile]

Where is MP_Setup.Chef coming from? Is this in a control on your form?
Or so you want to look up a value in a table?


Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*
 
J

Jean-Paul

I think, as far as I can see, that my syntax is correct...

I get a "send-mail" screen where all data are correctly entered at the
correct place.
When I click "send" it LOOKS like the mail is really send but it never
arrives.
Strange and finally this is what a program that took about 3 weeks to
make, all is about.

JP
Hi Jean-Paul,

here is the syntax for SendObject along with what you have specified:

'SendObject
'[objecttype] --> acSendReport
'[, objectname] --> "Te bezoeken2"
'[, outputformat] --> acFormatHTML
'[, to] --> MP_Setup.Chef
'[, cc]
'[, bcc]
'[, subject] --> "Algemeen overzicht week " & Me!weeknummer & " van "
'[, messagetext]
'[, editmessage]
'[, templatefile]

Where is MP_Setup.Chef coming from? Is this in a control on your form?
Or so you want to look up a value in a table?


Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*




Jean-Paul said:
Hi,

Still strugling with my sendObject problem.
Have tried some things out so:

Sending to myself is no problem. I work with oulook express and tried
it... no problem (somebody else suggested this may be the problem)

Normaly I use Outlook express, when I do a sendobject command an
outlook-windows opens (no outlook express)

The name of the attachment is in the proper field.
"Te bezoeken2" is send as a HTML file.

When I click on the name of the attached file I get an errormessage
saying (and this I have to translate so syntax could be different)

There is a problem with the network or there is another communication
problem. Check connections and try again.

Again, sending and recieving mail is no problem.

This is my command-line:

DoCmd.SendObject acSendReport, "Te bezoeken2", acFormatHTML,
MP_Setup.Chef, , , "Algemeen overzicht week " & Me!weeknummer & " van
" & MP_Setup.gebruiker, ""


MP_Setup.chef is an email adress... (a correct one)

This is a very important problem I have so please help!!!

Thanks
JP
 
S

strive4peace

Hi Jean-Paul,

and it is filled out with a VALID email address?

MP_Setup.Chef does not seem like a proper reference ...

Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*




Jean-Paul said:
I think, as far as I can see, that my syntax is correct...

I get a "send-mail" screen where all data are correctly entered at the
correct place.
When I click "send" it LOOKS like the mail is really send but it never
arrives.
Strange and finally this is what a program that took about 3 weeks to
make, all is about.

JP
Hi Jean-Paul,

here is the syntax for SendObject along with what you have specified:

'SendObject
'[objecttype] --> acSendReport
'[, objectname] --> "Te bezoeken2"
'[, outputformat] --> acFormatHTML
'[, to] --> MP_Setup.Chef
'[, cc]
'[, bcc]
'[, subject] --> "Algemeen overzicht week " & Me!weeknummer & " van "
'[, messagetext]
'[, editmessage]
'[, templatefile]

Where is MP_Setup.Chef coming from? Is this in a control on your
form? Or so you want to look up a value in a table?


Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*




Jean-Paul said:
Hi,

Still strugling with my sendObject problem.
Have tried some things out so:

Sending to myself is no problem. I work with oulook express and tried
it... no problem (somebody else suggested this may be the problem)

Normaly I use Outlook express, when I do a sendobject command an
outlook-windows opens (no outlook express)

The name of the attachment is in the proper field.
"Te bezoeken2" is send as a HTML file.

When I click on the name of the attached file I get an errormessage
saying (and this I have to translate so syntax could be different)

There is a problem with the network or there is another communication
problem. Check connections and try again.

Again, sending and recieving mail is no problem.

This is my command-line:

DoCmd.SendObject acSendReport, "Te bezoeken2", acFormatHTML,
MP_Setup.Chef, , , "Algemeen overzicht week " & Me!weeknummer & " van
" & MP_Setup.gebruiker, ""


MP_Setup.chef is an email adress... (a correct one)

This is a very important problem I have so please help!!!

Thanks
JP
 
J

Jean-Paul

OK... noticed some things...
Seems like all mails are stored in the mailbox out of Outlook.
When I open outlook en click "send" (in the outlook "main screen") it
all is OK

Strange that, the mail isn't send when I click the send button on the
"mail-window" itself.

can this be changed?

Thanks
JP
Hi Jean-Paul,

and it is filled out with a VALID email address?

MP_Setup.Chef does not seem like a proper reference ...

Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*




Jean-Paul said:
I think, as far as I can see, that my syntax is correct...

I get a "send-mail" screen where all data are correctly entered at the
correct place.
When I click "send" it LOOKS like the mail is really send but it never
arrives.
Strange and finally this is what a program that took about 3 weeks to
make, all is about.

JP
Hi Jean-Paul,

here is the syntax for SendObject along with what you have specified:

'SendObject
'[objecttype] --> acSendReport
'[, objectname] --> "Te bezoeken2"
'[, outputformat] --> acFormatHTML
'[, to] --> MP_Setup.Chef
'[, cc]
'[, bcc]
'[, subject] --> "Algemeen overzicht week " & Me!weeknummer & " van "
'[, messagetext]
'[, editmessage]
'[, templatefile]

Where is MP_Setup.Chef coming from? Is this in a control on your
form? Or so you want to look up a value in a table?


Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*




Jean-Paul wrote:
Hi,

Still strugling with my sendObject problem.
Have tried some things out so:

Sending to myself is no problem. I work with oulook express and
tried it... no problem (somebody else suggested this may be the
problem)

Normaly I use Outlook express, when I do a sendobject command an
outlook-windows opens (no outlook express)

The name of the attachment is in the proper field.
"Te bezoeken2" is send as a HTML file.

When I click on the name of the attached file I get an errormessage
saying (and this I have to translate so syntax could be different)

There is a problem with the network or there is another
communication problem. Check connections and try again.

Again, sending and recieving mail is no problem.

This is my command-line:

DoCmd.SendObject acSendReport, "Te bezoeken2", acFormatHTML,
MP_Setup.Chef, , , "Algemeen overzicht week " & Me!weeknummer & "
van " & MP_Setup.gebruiker, ""


MP_Setup.chef is an email adress... (a correct one)

This is a very important problem I have so please help!!!

Thanks
JP
 
S

strive4peace

Hi Jean-Paul,

from Outlook:

Tools, Options, Mail Setup tab
check --> Send immediately when connected

click the Send/Receive command button in the dialog box to specify the
tasks that will be performed during a Send/Receive


Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*




Jean-Paul said:
OK... noticed some things...
Seems like all mails are stored in the mailbox out of Outlook.
When I open outlook en click "send" (in the outlook "main screen") it
all is OK

Strange that, the mail isn't send when I click the send button on the
"mail-window" itself.

can this be changed?

Thanks
JP
Hi Jean-Paul,

and it is filled out with a VALID email address?

MP_Setup.Chef does not seem like a proper reference ...

Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*




Jean-Paul said:
I think, as far as I can see, that my syntax is correct...

I get a "send-mail" screen where all data are correctly entered at
the correct place.
When I click "send" it LOOKS like the mail is really send but it
never arrives.
Strange and finally this is what a program that took about 3 weeks to
make, all is about.

JP

strive4peace wrote:
Hi Jean-Paul,

here is the syntax for SendObject along with what you have specified:

'SendObject
'[objecttype] --> acSendReport
'[, objectname] --> "Te bezoeken2"
'[, outputformat] --> acFormatHTML
'[, to] --> MP_Setup.Chef
'[, cc]
'[, bcc]
'[, subject] --> "Algemeen overzicht week " & Me!weeknummer & " van "
'[, messagetext]
'[, editmessage]
'[, templatefile]

Where is MP_Setup.Chef coming from? Is this in a control on your
form? Or so you want to look up a value in a table?


Warm Regards,
Crystal

remote programming and training

Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace

*
:) have an awesome day :)
*




Jean-Paul wrote:
Hi,

Still strugling with my sendObject problem.
Have tried some things out so:

Sending to myself is no problem. I work with oulook express and
tried it... no problem (somebody else suggested this may be the
problem)

Normaly I use Outlook express, when I do a sendobject command an
outlook-windows opens (no outlook express)

The name of the attachment is in the proper field.
"Te bezoeken2" is send as a HTML file.

When I click on the name of the attached file I get an errormessage
saying (and this I have to translate so syntax could be different)

There is a problem with the network or there is another
communication problem. Check connections and try again.

Again, sending and recieving mail is no problem.

This is my command-line:

DoCmd.SendObject acSendReport, "Te bezoeken2", acFormatHTML,
MP_Setup.Chef, , , "Algemeen overzicht week " & Me!weeknummer & "
van " & MP_Setup.gebruiker, ""


MP_Setup.chef is an email adress... (a correct one)

This is a very important problem I have so please help!!!

Thanks
JP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

sendobject doesn't send 2
Don't want to send mail 6
Reports in email message body 1
SendObject 1
SendObject fails 1
Cannot get SendObject to run 6
SendObject error 2046 2
SendObject Attachment Problem 5

Top