Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 2 Jahren, 8 Monaten
Letzter Beitrag:
vor 2 Jahren, 8 Monaten
Beteiligte Autoren:
iso, Alexandre Leclerc

iParameterExport

Startbeitrag von iso am 10.06.2015 10:38

Hi

I know i can use the iParameterExport function to add an email recipient/email subject

but is there a way to add text to the body of the email (without using 'new object OLE "Outlook.Application"')

thanks

iso

Antworten:

Hi iso,

What do you mean? (I ask because I assume you saw the straith-forward example in the help which does exactly that: http://doc.windev.com/en-US/?1000017026. When the user click on export to email, all fields are pre-defined.)

It is not possible to directly fill the body of the email. What we do is that our application is automatically generating a PDF then we build an email ready to be sent, using the email variable. We do not have code specifically for Outlook. (We do the job manually.)

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 10.06.2015 12:31
Hi Alexandre,

im using the following:

iParameterExport(iExportEmailRecipient, "Wam@CrazyMail.com; Celia.Wat@ZMail.fr")
iParameterExport(iExportEmailSender, "Itsme@Berrymail.com")
iParameterExport(iExportEmailSubject, "Result of yearly sales")

but was looking for something which i guess would look like this:

iParameterExport(iExportEmailBody, "Dear ....")

I also have done it the same way you said, but in this case the user wants to open the report in the print view before sending the email.

thanks

iso

von iso - am 10.06.2015 15:34
Hi iso,

In such a case we had done this in the past: we added a new button in the Print preview to actually create manually the email, content, etc. and add a copy in the CRM of our application. It worked well, but was a challenge to implement (before the existence of the procedure variable for the call-back to the main application for the CRM part).

Now we removed that. We simply tell the user to click on the good button, because any-way, they can very easily click the attachment to see if the PDF is correct (and cancel if not).

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 10.06.2015 15:44
Hi Alexandre,

thanks, will consider adding a button to the preview, forgot you could do that.

iso

von iso - am 10.06.2015 17:34
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.