Skip to Content
author's profile photo Former Member
Former Member

triggering an email when a button is clicked

hi,

i have requirement ot trigger an email when a button is clicked.

can any one tell me how to do this.

pls help.

regards,

nikita.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 07, 2010 at 02:43 PM

    Hi Nikita,

    Use method cl_crm_email_utility=>create_send_req_from_mail_data to send email. Check the send method in standard component BT126H_MAIL in its super class CL_CRM_SEND_SCREEN method ON_SEND.

    Regards,

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 02:42 PM

    Hi Nikita,

    Goto event handler EH_ONSEND_MAIL of comonent/view BT126H_APPT/ApptOVViewset and use the similar coding.

    Alternatively try to use a component usage way using the component/view: BT126H_MAIL/send_screen to achieve this.

    Regards,

    Shobhit

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.