Hi, Experts:
There is a problem about sending email from Access. It bothers me a long time.
Is there any one can help me?
Sub SendEmail()
Dim strEmail as string
Dim strSubject as string
Dim strMsg as string
strEmail= "accnt@hotmail.com"
strSubject = "New Client Notice..."
'Send email
strMsg = "New Client Name: " & NewClientName & SPACE & SPACE & Me.CityEmployeeName
DoCmd.SendObject acSendNoObject, , , strEmail, , , strSubject, strMsg
End sub
I can use this code to send email from my desktop.It works perfectly.
But on some user¡¯s computer, it can be work. Always said:
¡°The program has performed an illegal operation and will be shut down.¡±
¡°MSAcess.exe caused an invalid page fault in KERNEL32.dll at ¡¡±
I checked Microsoft site I did everything that I can. This problem is still there.
It drive me nut.
Help me, please!!
Thanks all.
AnnYH
There is a problem about sending email from Access. It bothers me a long time.
Is there any one can help me?
Sub SendEmail()
Dim strEmail as string
Dim strSubject as string
Dim strMsg as string
strEmail= "accnt@hotmail.com"
strSubject = "New Client Notice..."
'Send email
strMsg = "New Client Name: " & NewClientName & SPACE & SPACE & Me.CityEmployeeName
DoCmd.SendObject acSendNoObject, , , strEmail, , , strSubject, strMsg
End sub
I can use this code to send email from my desktop.It works perfectly.
But on some user¡¯s computer, it can be work. Always said:
¡°The program has performed an illegal operation and will be shut down.¡±
¡°MSAcess.exe caused an invalid page fault in KERNEL32.dll at ¡¡±
I checked Microsoft site I did everything that I can. This problem is still there.
It drive me nut.
Help me, please!!
Thanks all.
AnnYH