How to Sandbox test an auto-reply e-mail from Paypal after purchase success, and send one yourself?

Hi, I have read detail here - https://www.paypal-community.com/t5/How-to-use-PayPal-Archive/Auto-Reply/m-p/9339 ...but need to know how to test that a reply has gone out to an e-mail address after purchase, using Sandbox?   Obviously I'm using random e-mail address for buyer and business Sandbox accounts, so is there a way to force the e-mail reply to a working e-mail address to check? ----- Also, what PHP code do I need to write after ipn success/validation to send an e-mail myself to the customer? Thanks! Ash

lisavs12686 wrote:
Whould it also be possible to send the sender the submited data (looking like the filled in form or so)?
not really nessecary but whould be a nice  jextra
You can but you would need to send it as an html email which is much more complicated.
What you would do is build a page/table construction like below. You would need to use the php variables to echo out the information in the <td></td> cells (example below).
$reply = $_POST['email'];
$from = '[email protected]';
$replysubject = "Auto-Reply: Website Name";
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $from\r\nReply-to: $reply";
$replymessage = '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Comments from Website</title>
</head>
<body>
<table>
<tr>
<td bgcolor="#ffffff" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; padding: 10px 15px;">Name: </strong>'.$name.'
</td>
</tr>
</table>
</body>
</html>';
mail($reply, $replysubject, $replymessage, $headers);

Similar Messages

  • How do I turn off auto reply in Mail?

    I can not find out how to turn off the auto reply function in Mail.

    I have a similar problem
    my Apple ID email and my me.com are not the same. I had both these operating before icloud. All my me.com emails have a "hi I am away from my desk I will reply shortly" auto reply which I can't disable because I can't find where the setting is. All my friends get the auto reply even if I have read the email. I have gone into icloud prefs and there is no auto reply turned on in the vacation setting area
    It must be a remant from the me.com settings which I now cant access ...help

  • HT4864 how do I turn off auto reply "I'm away from the office........."

    How do I turn off Auto reply "I'm away from the office..................         '

    Go to the mail page at http://icloud.com , click the cogwheel icon at top right, choose 'Preferences' and uncheck 'Forwarding'.

  • How to create a program that accepts 5 digits from the user between 0 and 9

    how to create a program that accepts 5 digits from the user between 0 and 9 then put them in ascending order using link-list method..

    You can use a scanner to get user input from the command line.
    import java.util.*;
    public class Test {
        private List<Integer> list;
        private Scanner in;
        public static void main (String... args) {
            new Test ();
        public Test () {
            list = new LinkedList<Integer> ();
            in = new Scanner (System.in);
            for (int i = 0; i < 5; i ++) {
                System.out.format ("Please enter a number (%d more): ", (5 - i));
                list.add (in.nextInt ());
            Collections.sort(list, new Comparator<Integer> () {
                public int compare (Integer i1, Integer i2) {
                    return i2 - i1;
            System.out.println (list);
    }

  • How to upload file from desktop or C drive and send as attachments

    Hello Experts,
    Please tell me
    How to upload jpg or gif or drawing files from desktop or any drive and store into R/3 by the same time I have to send mail as a attachment.
    I heard that FM
    SO_NEW_DOCUMENT_ATT_SEND_API1  is only to send as a  attachment what ever the data is present in the internal table only.
    please help me on that.

    I m using this code its having attachment but I m not able to open the file. Please help me
    I m using gui_upload to upload the file
    PROGRAM  ZTEST
           no standard page heading line-size 255.
    DATA: xfile TYPE string.
    data :     t_IW51 LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: OBJPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: OBJHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: OBJBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: OBJTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: RECLIST   LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: DOC_CHNG  LIKE SODOCCHGI1.
    DATA: TAB_LINES LIKE SY-TABIX.
    data :  email type table of BAPIADSMTP.
    PARAMETERS : file LIKE rlgrap-filename OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
      CLEAR file.
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = file.
      xfile = file.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = xfile
          filetype            = 'ASC'
          has_field_separator = 'X'
        TABLES
          data_tab            = t_IW51.
    Creation of the document to be sent
    File Name
      DOC_CHNG-OBJ_NAME = 'SENDFILE'.
    Mail Subject
      DOC_CHNG-OBJ_DESCR = 'Send External Mail'.
    Mail Contents
      OBJTXT = 'Minimum bid : $250000'.
      APPEND OBJTXT.
      OBJTXT = 'A representation of the pictures up for auction'.
      APPEND OBJTXT.
      OBJTXT = 'was included as attachment.'.
      APPEND OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    Creation of the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
    Creation of the document attachment
    (Assume that the data in OBJBIN is in BMP format)
    *OBJBIN = ' \O/ '. APPEND OBJBIN.
    *OBJBIN = ' | '. APPEND OBJBIN.
    *OBJBIN = ' / \ '. APPEND OBJBIN.
      OBJBIN[] = t_IW51[].
      DESCRIBE TABLE OBJBIN LINES TAB_LINES.
      OBJHEAD = 'PICTURE.PDF'.
      APPEND OBJHEAD.
      OBJBIN[] = t_IW51[].
    Creation of the entry for the compressed attachment
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'PDF'.
      OBJPACK-OBJ_NAME = 'PICTURE'.
      OBJPACK-OBJ_DESCR = 'Representation of object 138'.
      OBJPACK-DOC_SIZE = TAB_LINES * 255.
      APPEND OBJPACK.
    Completing the recipient list
      RECLIST-RECEIVER = 'email_id have to enter here'.
      RECLIST-REC_TYPE = 'U'.
      APPEND RECLIST.
      RECLIST-RECEIVER = 'ENTEG01'.
      RECLIST-REC_TYPE = 'P'.
      APPEND RECLIST.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
         DOCUMENT_DATA = DOC_CHNG
         PUT_IN_OUTBOX = 'X'
         commit_work = 'X'
      TABLES
         PACKING_LIST = OBJPACK
         OBJECT_HEADER = OBJHEAD
         CONTENTS_BIN = OBJBIN
         CONTENTS_TXT = OBJTXT
         RECEIVERS = RECLIST
    *EXCEPTIONS
      TOO_MANY_RECEIVERS = 1
      DOCUMENT_NOT_SENT = 2
      OPERATION_NO_AUTHORIZATION = 4
    *OTHERS = 99.
      CASE SY-SUBRC.
        WHEN 0.
          WRITE: / 'Result of the send process:'.
          LOOP AT RECLIST.
            WRITE: / RECLIST-RECEIVER(48), ':'.
            IF RECLIST-RETRN_CODE = 0.
              WRITE 'The document was sent'.
            ELSE.
              WRITE 'The document could not be sent'.
            ENDIF.
          ENDLOOP.
        WHEN 1.
          WRITE: / 'No authorization for sending to the specified number',
                   'of recipients'.
        WHEN 2.
          WRITE: / 'Document could not be sent to any recipient'.
        WHEN 4.
          WRITE: / 'No send authorization'.
        WHEN OTHERS.
          WRITE: / 'Error occurred while sending'.
      ENDCASE.

  • When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    You may have better luck posting in the iPhoto forum if no one on this forum is able to assist. I'm sure you are doing something wrong though.

  • How can I find my email in Apple Mail from before my company switched hosting providers?  People with Outlook have all of their old and new emails.  My old emails have vanished from Apple Mail.

    How can I find my email in Apple Mail from before my company switched hosting providers?  People with Outlook in my company have all of their old and new emails.  My old emails have vanished from my Apple Mailbox on my macbook and other Apple devices.  I do not have my mail backed up in time machine recently nor did I export my emailbox recently.  Any ideas?

    Try looking in your User folder.
    Either hold down the option key while using the Finder “Go To Folder” command and select your user Library in your home folder or use the Finder “Go To Folder” command and enter ~/Library/Mail/V2
    If you prefer to make your User library permanently visible, use the Terminal command found below.
    Show User Library
    You might want to bookmark the command. I have to use it again after every update. I have also been informed that if you drag the user library to Finder it will remain visible.

  • ICould prevents reply e-mails from sending in Outlook 2013

    iCloud add-in prevents reply e-mails from sending in Outlook 2013.  The Reply messages stay in Outbox. The Italic title returns to normal instantly. Any ideas to correct problem?

    Hi,
    Based on your description, users can move messages that don’t contain attachments to any other folders without any problem( not only subfolder of the Inbox ), and there is problem to move messages that contains attachment to whatever folders, right?
    Please check this issue in OWA.
    Please use the 'Move' operation from the context menu of the item to check this issue in Outlook.
    Please switch to a PC not joined your domain to check this issue.
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • I purchased a new computer, how do i transfer all of my itunes content from the old computer to the new one with out loosing songs, apps, pics ...ect

    i purchased a new computer, how do i transfer all of my itunes content from the old computer to the new one with out loosing songs, apps, pics ...ect

    Copy the entire iTunes folder from the old computer to the new computer to move iTunes content.
    As for pictures, copy them from where there are on the old computer to the new computer... this has nothing to do with iTunes.
    Alternatively, if both computers are Windows based, use the Windows Easy File Transfer Utility to move everything.

  • How do I e-print a forwarded e-mail from my Kindle Fire?

    How do I e-print a forwarded e-mail from my Kindle Fire?  I bought the e-printer so I could print out my e-mails but I can't get it to print forwards.

    the eprintcenter will not print emails and their attachments that have more than one recepient. You need to address the email to just your eprintcenter email address only if you want to print that way.
    There is a HP app on the android market that allows for network printing from android devices as well. Maybe your Fire will allow you to install that.
    mikehd

  • How do I transfer a current photography CC subscription from my old computer to a new one?

    How do I transfer a current photography CC subscription from my old computer to a new one?

    Hi JFPhoto73,
    You just need to deactivate the CC subscription from your old machine following the link: Sign out, Sign in | Creative Cloud Desktop app
    Once deactivated, install the application on your new machine following the link: Creative Cloud Help | Install, update, or uninstall apps
    Regards,
    Sheena

  • How do I transfer music, videos to my iPhone from another computer that is not the one my iPhone syncs with

    How do I transfer music, videos to my iPhone from another computer that is not the one my iPhone syncs with.
    Thank You!

    Take a look at this -> Recovering your iTunes library from your iPod or iOS device
    Short version: iTunes will transfer the purchases made from the iTunes Store on your iPhoneh to your computer. It treats all other music and video syncing as a one-way street, to comply with copyright laws (wont sync stuff not purchased through iTunes from your iPhone to your computer).

  • How do I stop other devices on my network from receiving me iMessages? I send an iMessage to someone and everyone on my network sees my conversation.

    How do I stop other devices on my network from recieving my IMessage?
    I send a friend an iMessage and other people on my network get to see the conversatiom.

    Are you sending a group MMS? If so that is why. Also if others are using the same apple id as you then they will see all your imessage texts. You need to change your apple id on you device.

  • How do i set an auto-reply at weekends only

    Hi,
    Ive been trying to work this out for days, but alas its beaten me ! I have a photography business with 'normal' business days staring at 9am Tuesday, ending 5pm Saturday. I therefore get a lot of enquiries on Sundays and Mondays (ie our 'weekend') and people don't often appreciate that its our day off. I'd like to set up an auto reply to e mails arriving in my inbox on Sundays and Mondays that say something like "I'm afraid that were closed on Sundays and Mondays, but we'll get back to you as soon as possible from Tuesday morning..." etc.
    My theory is that i could set up the autoreply on Automator and have Calendar 'switch it on and off " at the right times with a repeat function. I just dont know how to set about doing either of teh two steps (if indeed its possible)  and how to avoid e mail loops with people who also have autoreplies.
    Any thoughts or ideas would be very much appreciatded !!
    Thanks
    Halid
    http://www.rhubarbandcustard.com

    In searching for a solution, I found this: http://guides.macrumors.com/DrivesandFilesystems
    The info on Ext2 sounded promising, but comments at SourceForge indicated it did not work on Snow Leopard.
    Another option is one of the NTFS drivers for the Mac. You could then format it as NTFS and use it on both Mac and Windows. However, I don't know how the permissions issues will work out.
    I have run [NTFS-3G with MacFuse|http://www.tuxera.com/products/tuxera-ntfs-for-mac>, but not enough to say it is a viable solution for you. There used to be a free version, but it appears that it is no longer free.

  • How to block a Sender from Sending Emails but Auto Reply Set on That Id should be able to send mails .

    hi ,
    I need to block a certain Email id from sending mails , but at the same time auto reply should work and any mail received by that id an auto reply should be generated .
    Please guide me m a not an exchange pro.
    Thanks

    Hi,
    I have some tests in my lab using Exchange 2010. I recommend you create a transport rule to prohibit a user from sending emails. Here is an example for your reference.
    And then use the following cmdlet to set the auto reply for this user.
    Set-MailboxAutoReplyConfiguration -Identity "amy02" -AutoReplyState Enabled -ExternalMessage "External OOF message here" -InternalMessage "Internal OOF message here"
    Here is the result.
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

Maybe you are looking for

  • Help! Have I lost everything on my Iphone 4S?

    I just updated my macbook itunes, and then plugged my iphone (4s) into it and backed everything up onto itunes (but not icloud) it made me update to ios 8... which I did... then I think I must've accidentally reset the phone because now it's trying t

  • Placing a PNG file with transparency

    If I have a psd / Png file on Photoshop that has text with no background (transparent), and I do a Place of that file into Illustrator, I get a white background in additiotion to the Text. How do I stop the white background from placing withing the I

  • Connection time out error in HTTP

    Hey guys i m getting connection time out error in a HTTP scenario,when i go in SXMB_ADM i dont find any entry with the name HTTP_TIMEOUT. even in RZ10 i cant find the correct profile parameter. i m taking help from michaels blog /people/michal.krawcz

  • Transport hang

    Hi All, Cannot transport CEB transports to CEB system. All the transports are hanging. Kindly check the Tp system logs in STMS for more errors details. They are many requests awaiting for CEP via CEB. Kindly look into this ASAP The error message in T

  • How to install Android 4.4 KitKat on a ZTE Open

    Don't get me wrong: THERE IS ABSOLUTELY NOTHING WRONG WITH FIREFOX OS AND I HATE ANDROID. I simply want to know how to do this for future reference and to grow my knowledge of how these devices work. I have a ZTE Open which runs FxOS 1.1 How to I ins