Send Mail vs. Self Defined Method

Zmudzin,Tomasz,VEVEY,GL-DS/DM Tomasz.Zmudzin at nestle.com
Tue Nov 12 10:32:18 EST 2002


Allan,
 
I guess the use of the "send mail" task is so widespread that you got
everybody startled what your question is all about... In fact -- apart of
some obscure workarounds -- I would not see ANY reason to code the method
yourself, unless you like programming a lot.
 
I have to admit I haven't exploited the topic in much details, but the cases
where you might think twice would be:
- sending special mail formats -- HTML-encoded e-mail could be an example
- passing "strange" data to the task body (e.g. URLs containing characters
that could potentially cause problems in variable substitutions etc)
but that's already a long shot.
 
Given the number of errors one can make when writing the e-mail-sending
method going for SendTaskDescription is usually the best thing you do.
 
Kind regards,
Tomasz
 
P.S. For a small programming example you can check the definition of that
method, or the QFOA_MAIL_SENDING function module.
 
-----Original Message-----
From: Spoolder Allan [mailto:Allan.Spoolder at mch30.sbs.de]
Sent: Tuesday,12. November 2002 16:12
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Send Mail vs. Self Defined Method
 
 
> Hi There,
>
> Here is a general question regarding a send mail task.
>
> What would be the reasons to use a self defined method to build the
> contents of a mail and send it to a recipient in a workflow task, as
> opposed to using the send mail task?
>
> Thanks
>
> Regards
> Allan
>
 


More information about the SAP-WUG mailing list