email attachment pop up network problem???

T

Tim

DoCmd.SendObject acSendReport, strDocName, acFormatPDF,
"[email protected]", , , "School: " & glbStudId & ""

When Outlook pops up and I click on the Send button, it pops up error
message, "The operation failed because of network or other communication
problems. Verify your connections and try again." And then the program shut
down automatically and doing a backup??? Please help me to identify the
problem. Thanks.
 
T

Tim

Hi Alex, the link you posted only applies for Microsoft Outlook 2000 Standard
Edition.
Mine is 2007. Do you think what else that cause the problem?
 
T

Tim

I checked your other post that is similar with this one. My question is do I
really have to save the report into a machine using DoCmd.OutputTo BEFORE
using the DoCmd.SendObject: (your codes)
DoCmd.OutputTo acOutputReport, strReportName, acFormatTXT, strFileName

DoCmd.SendObject acSendNoObject, "", acFormatTXT, strTo, , , strSubject,
strBody & strTemplate
 
A

Alex Dybenko

Well, I don't know if you really need to save it first. I personally using
Lebans report to pdf convertor.
Try to send report as shapshot, or text, if it works - then something wrong
with PDF conversion, else - with outlook settings

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
 
Top