email attachment pop up network problem???

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

DoCmd.SendObject acSendReport, strDocName, acFormatPDF,
"(e-mail address removed)", , , "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.
 
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?
 
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
 
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
 
Back
Top