Hi,
I am having problem with printing to email from a custom OE screen. Would you please provide some guidance.
Below is the details:
Sage 300 Version is 2017 PU2. Sage 300 is configured to use Email as "Print Destination".
The custom screen was written in VB 6.0 with OE OCX. It has survived the last 2 upgrades with the same code. It has a couple small additional functions, e.g. create items on the fly, create vendor cost. The Post button has a few updates that are not relevant to Sage 300 data, and it calls "vPost.Value = True" to use Sage 300 native post routine to get the data to Sage 300. When it is supposed to pull the client email software and attach the OECONF01.pdf in the email, it gives an error "Mail delivery failed. Use the Email tab on the Company Profile screen to send a test email and confirm that all settings are correct.".
I tried the settings in the Email tab in company profile screen in CS. I am not sure what I missed here. I entered Google SMTP settings or my own company settings. It did not send the Test Email. I am not sure if this is related. Or... I might need an additional DLL in the application folder. (I have to copy "a4wcrInterop.dll" to my application folder in order to print preview the crystal, which leads me to think I might need a DLL to fix.)
Native Sage 300 OE screen launches the client email software, e.g. outlook, and attaches the pdf file in the email. The uses will need to fill in the email address and send it out. That part works fine.
Best Regards,
I am having problem with printing to email from a custom OE screen. Would you please provide some guidance.
Below is the details:
Sage 300 Version is 2017 PU2. Sage 300 is configured to use Email as "Print Destination".
The custom screen was written in VB 6.0 with OE OCX. It has survived the last 2 upgrades with the same code. It has a couple small additional functions, e.g. create items on the fly, create vendor cost. The Post button has a few updates that are not relevant to Sage 300 data, and it calls "vPost.Value = True" to use Sage 300 native post routine to get the data to Sage 300. When it is supposed to pull the client email software and attach the OECONF01.pdf in the email, it gives an error "Mail delivery failed. Use the Email tab on the Company Profile screen to send a test email and confirm that all settings are correct.".
I tried the settings in the Email tab in company profile screen in CS. I am not sure what I missed here. I entered Google SMTP settings or my own company settings. It did not send the Test Email. I am not sure if this is related. Or... I might need an additional DLL in the application folder. (I have to copy "a4wcrInterop.dll" to my application folder in order to print preview the crystal, which leads me to think I might need a DLL to fix.)
Native Sage 300 OE screen launches the client email software, e.g. outlook, and attaches the pdf file in the email. The uses will need to fill in the email address and send it out. That part works fine.
Best Regards,