• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. The eBay API > 118. Send Automatic Emails to High Bidders

Send Automatic Emails to High Bidders

Send payment instructions to your customers automatically.

Here’s a simple script that will scan all your auctions that have ended in the last 24 hours and send a payment-instructions email to each high bidder:

             #!/usr/bin/perl
             require 'ebay.pl';
             
             $template = "template.txt";
             
             $today = &formatdate(time);
             $yesterday = &formatdate(time - 864000);
             my $page_number = 1;
             PAGE:
             while (1) {
                 my $rsp = call_api({ Verb => 'GetSellerList',
                                DetailLevel => 8,
                                     UserId => $user_id,
                                EndTimeFrom => $yesterday,
                                  EndTimeTo => $today,
                                 PageNumber => $page_number
                 });

                 if ($rsp->{Errors}) {
                   print_error($rsp);
   ....

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint