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

SAP CRM survey Suite Internet Scenaraio Mail To option - PHP

Hi all,

Followed steps as per below link for sending an survey email as HTML link in email

I followed all the steps in the link above except the PHP Scripting for the Mailto: scenario.
But when I submit the survey , a mail is opened in my outlook without the POSTDATA.ATT file.

I am not sure how to write this PHP Scripting. IT would be great if you could guide on that.
Thanks in advance..



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Apr 09, 2013 at 06:19 AM

    Dear Kiran,

    if you want to avoid that an email is sent you have to adjust the action URL of the generated survey. The URL should point to a program on a server that can be reached via http(s) to transform the post parameters into an email. The PHP code on the wiki page is just one possible implementation. You can do this in Java or other languages too.

    Best regards


    Add a comment
    10|10000 characters needed characters exceeded

    • Dear Anshita,

      the biggest difference between my example described at Survey processing without opening a connection to the CRM Backend from the Internet is the "without opening a connection from the Internet" part. There I describe a way how to store the Survey on an external Webserver and transfer the Survey values via E-Mail.

      The other documents you find talk about HTTP(S). The drawback there is, as I've mentioned often above that you have to expose at least the BSP Application CRM_SVY_SERVER to the Internet. Also you have to maintain a technical user for this service to allow anonymous access.

      So to answer 1) check my advice from before.

      For 2) You have to use the ++ tracking option as either the Survey BSP or the website that is hosted on an external server is the target that will do the tracking.

      Best regards


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.