I want to schedule the mail seding process. Is there a way to use gmail credentials to sent mails using NAV 2009.
Ways are there. I am telling you one option.
Configure your gmail account in your outlook. Then by using code unit 397, you can send mail. you can schedule it also.
Regards,
Karthik.D
did you try to set smtp.gmail.com as server?
I have configured outlook express but still I cant sent mails. Do I need to configure SMTP mail setup table too?
yes, as i said above…
you should rewrite the codeunit 400 using CDOSys automation. it works with SSL and specified port no. what gmail requires
Then what should be the user name and password?
the gmail account credential xyz@gmail.com and passwordddd
I still cant send mails. Do u have any examples for using this with NAV
[:’(] I can’t send mails using Nav. I have tried each an every thing. But it doesn’t work.
Are you getting any error message?
Yes… Please configure the smtp table too
It says:
Message could not be sent to the SMTP server. Transport code error was 0*800ccc15.
Are you using Gmail smtp for sending the mails?
IF Yes then u need to modify the code as it is using SSL which Standard codeunit does not support.
Please check this link.