uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
sendmail problem with @ sign

Knowledge Base Lobby : uShop Support Conference : CGI Script Related Problems
Oct-24-17 12:01 AM EST
Original Message
sendmail problem with @ sign
Author M Ulm on 06-25-2002 at 16:19 (EST)
My server wants the
sendmail_path to include my email address.

"/usr/lib/sendmail -t -f your_email_address";

but ushop.pl crashes when I put the @ sign in $sendmail_path=.
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  more info M Ulm, 2002-06-25 18:00:10 (1)
            RE: more info Bill Weiner, 2002-06-26 04:41:18 (2)
                 email notification? M Ulm, 2002-06-26 09:33:13 (3)
                      email notification? M Ulm, 2002-06-26 11:09:40 (4)
                           RE: email notification? Bill Weiner, 2002-06-26 20:54:33 (5)
                                email notification? M Ulm, 2002-06-27 07:36:52 (6)

Messages In This Discussion
         1. more info
        Author M Ulm on 06-25-2002 at 18:00 (EST)
I think I have the same problem as the person near the end of the post listed below.

http://www.uburst.com/dcforum/ushop_place_order/130.html

When I use "/usr/lib/sendmail" it said it worked but I didn't get the mail.

TABLE OF CONTENTS
                 2. RE: more info
                Author Bill Weiner on 06-26-2002 at 04:41 (EST)
In Perl, the @ sign is a special character .... so to actually insert it into a string, you have to do one of these two things:

1) Escape the @ sign by putting a backslash ( ) in front of it, such as:

"My email address is support@uburst.com"

or

2) Enclose the string in single quotes ( ' ) instead of double quotes, such as:

'My email address is support@uburst.com'

Now, if you want to include your email address with the sendmail -f option, then these are actually the recommended steps:

STEP 1: Make a backup of your current ushop-lib.pl script... just in case.

STEP 2: Open your current ushop-lib.pl file with any TEXT editor such as WordPad.

STEP 3: Do a search on the following line:

$mail_program = $sendmail_path . " -t";

STEP 4: Change that line to:

$mail_program = $sendmail_path;

STEP 5: Save the script... as TEXT if your editor asks... and then transfer it back to your server.

STEP 6: Now you can add any flags that you want when specifying the $sendmail_path in configuration question #8 of the ushop.pl script, such as:

$sendmail_path = '/usr/lib/sendmail -t -f you@yourdomain.com';
TABLE OF CONTENTS
                         3. email notification?
                        Author M Ulm on 06-26-2002 at 09:33 (EST)
I have tried both of the above suggestions. They didn't work. I got the message
Sendmail = ERROR - Incorrect Sendmail Path
TABLE OF CONTENTS
                                 4. email notification?
                                Author M Ulm on 06-26-2002 at 11:09 (EST)
It has started to work now, but it still gives me an error in the diagnostics test.
Sendmail = ERROR - Incorrect Sendmail Path
TABLE OF CONTENTS
                                         5. RE: email notification?
                                        Author Bill Weiner on 06-26-2002 at 20:54 (EST)
The Diagnostic Test simply checks for the existance of a file located where ever you have your $sendmail_path set to. So the above modification will cause the "Incorrect Sendmail Path" error in the diagnostic report. Just ignore that error if the above modification is working for you.
TABLE OF CONTENTS
                                                 6. email notification?
                                                Author M Ulm on 06-27-2002 at 07:36 (EST)
Thanks for your help.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.