Plz reply.
I’m trying to send a mail from Nav4.0 SP3 and that email body should be
HTML formatted text.
But I’m very much surprised to see that receiver got the mail(Body part) but not in HTML formatted text
And the Send Items shows that it is well HTML formatted text.
Mail shoots from MS Outlook 2003.
My code
// Automation Start
//Create application
IF ISCLEAR(objApp) THEN CREATE(objApp);
//Create mail item
objMail := objApp.CreateItem(0);
// set properties
objMail."To"(
'navuser1@gmail.com');
objMail.Subject('Important');
objMail.BodyFormat:=2;
objMail.HTMLBody :='<a href='+Text101+'>navuser1</a>';
//Uncomment for display email
objMail.Display();
//Send mail
objMail.Send();
// Automation End;
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
At my client place I have NAVISION CRM. There I have used Interaction templates,
which fullfills the clients requirement of sending the emails in HTML BODY with images.
May be this will help you,
1. Go to Interaction templates in Sales module.
2. Enter one template code and other details.
3. Go to Attachment=>create
4. It will open the MS Word document.Use merged fields from Contact table(see on MS Word toolbar)
5. Copy and paste the body of the email in HTML format.
6. Close the document.
7. Now when u send the email with this interaction template, it will send the contains of the word document
as a email body.
Senior Consultan
Thanks..
[url=navision://client/run?database=d]navision://client/run?database=d[/url]:\base db\basedb4.0sp3in_upto_hf5new.fdb&company=CRONUS India Ltd1.&target=Form Opportunity Card&view=SORTING(No.) WHERE(No.=FILTER(OP000064))&position=No.=CONST()&servertype=NAVISION
I hv converted this into HTML and send the same from My OutLook to Gmail Account.
My OutLook account treat this as a HTML But My Gmail does not consider this text as a URL.
:roll:
Plz help...