473,396 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SendObject & A2K SP-3

Hello All,

I had written a quick email procedure for a client that uses
DoCmd.SendObject. However they have the SR-1 version of Access 2K. They do
not have the SP-3 upgrade. The procedure does not work all of the time (it
seems to fail on long emails). The procedure works fine on my computers that
have the SP-3 upgrade. I read about the SP-3 upgrade and it evidently
repairs some SendObject bugs.

Unfortunately, the client has another very expensive software package custom
written for them and the vendor has told them not to upgrade to the SP-3 as
they have not fully evaluated the upgrade, so my client will not upgrade.

Will the following code (using Outlook Items) work for them or is it also
susceptible to the bugs that were fixed with SP-3.

'''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''
''
Private Sub btnMail_Click()
Dim objOutlookApp As New Outlook.Application
Dim objOutlookMail As Outlook.MailItem
Dim strRecipients As String
Dim strSubject As String
Dim strBody As String

strRecipients = "zu********@sbcglobal.net"
strSubject = "Test - " & Now()
strBody = "This is a test"

Set objOutlookApp = CreateObject("Outlook.Application")
Set objOutlookMail = objOutlookApp.CreateItem(olMailItem)

With objOutlookMail
.To = strRecipients
.Subject = strSubject
.Body = strBody
.Send
End With

objOutlookApp.Quit
Set objOutlookApp = Nothing
Set objOutlookMail = Nothing

MsgBox "This item has been placed in your Outlook Outbox" & vbCrLf &
vbCrLf & _
"Don't forget to open your Outlook Outbox and actually SEND this
email"

End Sub

'''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''
''

Thanks In Advance.
Fred Zuckerman
Feb 27 '06 #1
3 1642
The mail bugs were not fixed in A2K SR1. They persisted
until SP3, which was released after the bugs were fixed in
AXP (or was that A2K3?)

Your test example uses a single mail item, and a very
short message, so no problem is expected. I'm not
sure what the minimum message size was to see possible
failures, but I think it was more than 14 characters?
(david)

"Fred Zuckerman" <Zu********@sbcglobal.net> wrote in message
news:X0*****************@newssvr25.news.prodigy.ne t...
Hello All,

I had written a quick email procedure for a client that uses
DoCmd.SendObject. However they have the SR-1 version of Access 2K. They do
not have the SP-3 upgrade. The procedure does not work all of the time (it
seems to fail on long emails). The procedure works fine on my computers
that
have the SP-3 upgrade. I read about the SP-3 upgrade and it evidently
repairs some SendObject bugs.

Unfortunately, the client has another very expensive software package
custom
written for them and the vendor has told them not to upgrade to the SP-3
as
they have not fully evaluated the upgrade, so my client will not upgrade.

Will the following code (using Outlook Items) work for them or is it also
susceptible to the bugs that were fixed with SP-3.

'''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''
''
Private Sub btnMail_Click()
Dim objOutlookApp As New Outlook.Application
Dim objOutlookMail As Outlook.MailItem
Dim strRecipients As String
Dim strSubject As String
Dim strBody As String

strRecipients = "zu********@sbcglobal.net"
strSubject = "Test - " & Now()
strBody = "This is a test"

Set objOutlookApp = CreateObject("Outlook.Application")
Set objOutlookMail = objOutlookApp.CreateItem(olMailItem)

With objOutlookMail
.To = strRecipients
.Subject = strSubject
.Body = strBody
.Send
End With

objOutlookApp.Quit
Set objOutlookApp = Nothing
Set objOutlookMail = Nothing

MsgBox "This item has been placed in your Outlook Outbox" & vbCrLf &
vbCrLf & _
"Don't forget to open your Outlook Outbox and actually SEND this
email"

End Sub

'''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''
''

Thanks In Advance.
Fred Zuckerman

Mar 22 '06 #2
Thank you (david)

The msg is usually around 3,000 characters when it fails with
DoCmd.SendObject.
I've since changed the output to a report preview, then the user
right-clicks and uses "Send To" to send it as an email attachment. But it is
a big pain for them. They need to set the address(es) manually, change the
subject manually, etc.

So my question was, will the code using Outlook.MailItem suffer the same
failures as DoCmd.SendObject when the msg gets to 3,000 characters.

Thanks,
Fred

"david epsom dot com dot au" <david@epsomdotcomdotau> wrote in message
news:44**********************@lon-reader.news.telstra.net...
The mail bugs were not fixed in A2K SR1. They persisted
until SP3, which was released after the bugs were fixed in
AXP (or was that A2K3?)

Your test example uses a single mail item, and a very
short message, so no problem is expected. I'm not
sure what the minimum message size was to see possible
failures, but I think it was more than 14 characters?
(david)

"Fred Zuckerman" <Zu********@sbcglobal.net> wrote in message
news:X0*****************@newssvr25.news.prodigy.ne t...
Hello All,

I had written a quick email procedure for a client that uses
DoCmd.SendObject. However they have the SR-1 version of Access 2K. They do not have the SP-3 upgrade. The procedure does not work all of the time (it seems to fail on long emails). The procedure works fine on my computers
that
have the SP-3 upgrade. I read about the SP-3 upgrade and it evidently
repairs some SendObject bugs.

Unfortunately, the client has another very expensive software package
custom
written for them and the vendor has told them not to upgrade to the SP-3
as
they have not fully evaluated the upgrade, so my client will not upgrade.
Will the following code (using Outlook Items) work for them or is it also susceptible to the bugs that were fixed with SP-3.

'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' ''
Private Sub btnMail_Click()
Dim objOutlookApp As New Outlook.Application
Dim objOutlookMail As Outlook.MailItem
Dim strRecipients As String
Dim strSubject As String
Dim strBody As String

strRecipients = "zu********@sbcglobal.net"
strSubject = "Test - " & Now()
strBody = "This is a test"

Set objOutlookApp = CreateObject("Outlook.Application")
Set objOutlookMail = objOutlookApp.CreateItem(olMailItem)

With objOutlookMail
.To = strRecipients
.Subject = strSubject
.Body = strBody
.Send
End With

objOutlookApp.Quit
Set objOutlookApp = Nothing
Set objOutlookMail = Nothing

MsgBox "This item has been placed in your Outlook Outbox" & vbCrLf &
vbCrLf & _
"Don't forget to open your Outlook Outbox and actually SEND this email"

End Sub

'''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' ''

Thanks In Advance.
Fred Zuckerman


Mar 24 '06 #3
Sorry, i wasn't paying proper attention.

No, Outlook.MailItem does not suffer from the DoCmd.SendObject
bug.

And that was also my personal experience. The only support I
had to do was when an idxRecord field outgrew an Integer temp
value left over from a previous design iteration. There were
typically around 5 records per mail item, so it had done about
6000 messages at that point, over a 3 year period.

(david)
"Fred Zuckerman" <Zu********@sbcglobal.net> wrote in message
news:Ii*******************@newssvr13.news.prodigy. com...
Thank you (david)

The msg is usually around 3,000 characters when it fails with
DoCmd.SendObject.
I've since changed the output to a report preview, then the user
right-clicks and uses "Send To" to send it as an email attachment. But it
is
a big pain for them. They need to set the address(es) manually, change the
subject manually, etc.

So my question was, will the code using Outlook.MailItem suffer the same
failures as DoCmd.SendObject when the msg gets to 3,000 characters.

Thanks,
Fred

"david epsom dot com dot au" <david@epsomdotcomdotau> wrote in message
news:44**********************@lon-reader.news.telstra.net...
The mail bugs were not fixed in A2K SR1. They persisted
until SP3, which was released after the bugs were fixed in
AXP (or was that A2K3?)

Your test example uses a single mail item, and a very
short message, so no problem is expected. I'm not
sure what the minimum message size was to see possible
failures, but I think it was more than 14 characters?
(david)

"Fred Zuckerman" <Zu********@sbcglobal.net> wrote in message
news:X0*****************@newssvr25.news.prodigy.ne t...
> Hello All,
>
> I had written a quick email procedure for a client that uses
> DoCmd.SendObject. However they have the SR-1 version of Access 2K. They do > not have the SP-3 upgrade. The procedure does not work all of the time (it > seems to fail on long emails). The procedure works fine on my computers
> that
> have the SP-3 upgrade. I read about the SP-3 upgrade and it evidently
> repairs some SendObject bugs.
>
> Unfortunately, the client has another very expensive software package
> custom
> written for them and the vendor has told them not to upgrade to the
> SP-3
> as
> they have not fully evaluated the upgrade, so my client will not upgrade. >
> Will the following code (using Outlook Items) work for them or is it also > susceptible to the bugs that were fixed with SP-3.
>
> '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' > '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' > ''
> Private Sub btnMail_Click()
> Dim objOutlookApp As New Outlook.Application
> Dim objOutlookMail As Outlook.MailItem
> Dim strRecipients As String
> Dim strSubject As String
> Dim strBody As String
>
> strRecipients = "zu********@sbcglobal.net"
> strSubject = "Test - " & Now()
> strBody = "This is a test"
>
> Set objOutlookApp = CreateObject("Outlook.Application")
> Set objOutlookMail = objOutlookApp.CreateItem(olMailItem)
>
> With objOutlookMail
> .To = strRecipients
> .Subject = strSubject
> .Body = strBody
> .Send
> End With
>
> objOutlookApp.Quit
> Set objOutlookApp = Nothing
> Set objOutlookMail = Nothing
>
> MsgBox "This item has been placed in your Outlook Outbox" & vbCrLf &
> vbCrLf & _
> "Don't forget to open your Outlook Outbox and actually SEND this > email"
>
> End Sub
>
> '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' > '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''' > ''
>
> Thanks In Advance.
> Fred Zuckerman
>
>



Mar 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Collin VanDyck | last post by:
I have a basic understanding of this, so forgive me if I am overly simplistic in my explanation of my problem.. I am trying to get a Java/Xalan transform to pass through a numeric character...
5
by: Roshan | last post by:
This is regarding the article titled "C++ & Double-Checked Locking" by Scott Meyers and Andrei in DDJ July 2004 issue. I think the reasoning in this article is fundamentally flawed due the...
3
by: Tim Marshall | last post by:
In A97, I used sendobject frequently. My default mail application when I was developing in A97 up until July this year was netscape 4.x (yes, i was a dinosaur and I know netscape 4.x was the bug...
8
by: Andy Kasotia | last post by:
Warning message in Outlook 2003 while using SendObject. When i try to use sendobject to send an email, a warning massage pops up, saying that "Outlook is trying to send an email.......if this is...
0
by: Eddy | last post by:
We use Thunderbird as E-Mail client. When sending a report from MsAccess 2003 running under Windows XP, the attachment is a xxxx.tmp file instead of the required docname.rtf file. I do not have...
8
by: G Patel | last post by:
Can people please comment on the layout/style of my problem? The major issue I had was the layout. I ended up having to put a relatively large switch statement, inside an if statement, which is...
2
by: Andy_Khosravi | last post by:
I posted this question about two days ago, but for some reason it never actually got put up. I couldn't' find it with searches, so I am re-posting it now. I apologize if this is a double post. ...
0
by: (PeteCresswell) | last post by:
Another thread got me going on SendObject. Works like a champ for emailing somebody a .SNP of a report as in: DoCmd.SendObject acSendReport, "rptMaturities", "Snapshot Format", "pCresswell", ,...
3
by: Blip | last post by:
Hello - I'm trying to wite these control characters to the serial port w/o success. I've tried sp.Write((Keys.ControlKey & Keys.X).ToString()); sp.Write((Keys.Control & Keys.X).ToString()); ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.