Hi developers,
I’m trying to do some “email spamming” (no - just trying to send a personalized invitation):
Have a memo as template, and wrote a LS agent:
it copies the template for each addressee into a new memo document and personalize the body field like: "Dear Mr. X + NewLine + template body field.
When I save the new memos, they looked fine: “Dear Mr. X” + the correctly formatted original rtfield.
But when I send the memo with a backend command to the addressees, the format of the rtfield is terrible (in the addressees mail client).
When I do the same in frontend, like:
…
Call backendmailnote.Save(True,True)
Set frontendmaildoc = workspace.EditDocument(True,backendmailnote)
Call frontendmaildoc.Send
Call frontendmaildoc.Close(True)
the formatting is OK - but I have to answer every save-or-discard-prompt for the Close command.
So it looks as if Notes do sth. when sending a formatted rtfield, which do not happend when I use the backend command send.
Can I do it via “backend sending” - or can I suppress the closing prompt?
Thanks in advance for any help
Uwe