Hi
i Have one changes in default codeunit 400(SMTP Mail) for attachments when sending mail. but this code is working for classic only .when RTC is running it's not working.
please help me :!: :!:
If servicetier is installed in seperate system then RTC will be searching for the file in servicetier system not client machine..
You have to upload the file to servicetier machine before attaching..
Hi Mohana,
i have change code from your advice
Old Code
Mail.AddAttachments('C:\Users\muthusubramanian.m\Desktop\Org.pdf');
New code Mail.AddAttachments('\\172.20.1.205\MS Dynamics NAV\Org.pdf');
Note /172.20.1.205 is server IP and i have uploaded the file to servicetier machine before attaching
after change code getting error message like this when sending mail
Microsoft Dynamics NAV
The SMTP mail system returned the following error: (0x80004005): Unspecified error
OK
Please Help me
Thanks and Regards
Muthusubramanian.M
Answers
You have to upload the file to servicetier machine before attaching..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Why didn't you used standard Addattachment() function to send attachement with mail..?
i have change code from your advice
Old Code
Mail.AddAttachments('C:\Users\muthusubramanian.m\Desktop\Org.pdf');
New code
Mail.AddAttachments('\\172.20.1.205\MS Dynamics NAV\Org.pdf');
Note /172.20.1.205 is server IP and i have uploaded the file to servicetier machine before attaching
after change code getting error message like this when sending mail
Microsoft Dynamics NAV
The SMTP mail system returned the following error: (0x80004005): Unspecified error
OK
Please Help me
Thanks and Regards
Muthusubramanian.M
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Hi mohana,
I really thank to you .Now my issue is solved.
Thanks and Regards,
Muthusubramanian.M
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav