By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,207 Members | 1,028 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,207 IT Pros & Developers. It's quick & easy.

help with auto email on my website

P: 2
hi every one just wondering if anyone could help sorry if i seem abit dumb but im a newbie to it all
ive got to asign a mail program on my auction site in the config.pl files (i think this is the problem)but im not sure how as i have tryed a couple of things and dont seem to be getting any where the problem is that its just not sending any emails at all no password sent to customers no end of auction
i cant send any from the admin either.
here is a copy of some of the config.pl
hope some one can make sence of it all
please let me no if you need any other bit of code

Expand|Select|Wrap|Line Numbers
  1.  
  2. ## Do not edit or delete these use commands ##
  3. use strict;
  4. require "rbanner.pl";
  5. ##
  6.  
  7.  
  8. local %config;
  9. local %form = &get_form_data;
  10.  
  11. #-#############################################
  12. # Configuration Section
  13. # Edit these variables Below!
  14. #################################################
  15. # Accounting
  16. # This needs the full server path to the accounting.pl file
  17. # on Windows NT/2000 servers only you need to specify 
  18. # the drive letter (c:,d:,e:) with the server path example: 
  19. # require "c:/your/server/path/cgi-bin/accounting/accounting.pl";
  20.  
  21. require "/full/path/to/accounting.pl";
  22.  
  23. #############################
  24. # The Base Directory to your auctiondata.
  25. # This needs the full server path to the auctiondata directory.
  26. # Include the trailing slash.  
  27. # THIS SHOULD NOT BE WEB-ACCESSIBLE!
  28. # on Windows NT/2000 servers only you need to specify 
  29. # the drive letter (c:,d:,e:) with the server path example: 
  30. # $config{'basepath'} = 'c:/your/server/path/cgi-bin/auction/auctiondata/';
  31.  
  32. $config{'basepath'} = '/full/path/to/auctiondata/';
  33.  
  34. ##########################
  35. # The Base Directory to your auction dir.
  36. # This needs the full path to the base auction directory.
  37. # Include the trailing slash.  
  38. # on Windows NT/2000 servers only you need to specify 
  39. # the drive letter (c:,d:,e:) with the server path example: 
  40. # $config{'require'} = 'c:/your/server/path/cgi-bin/auction/';
  41.  
  42. $config{'require'} = '/full/path/to/auction/';
  43.  
  44. ###############################
  45. # BidFind.com MegaList Generator
  46. # This should point to the megalist dir in 
  47. # your html docment root dir no trailing slash.
  48. # on Windows NT/2000 servers only you need to specify 
  49. # the drive letter (c:,d:,e:) with the server path example:
  50. # $config{'megalist'} = 'c:/your/server/path/megalist';
  51. # the url bidfind.com needes is: 
  52. # http://www.your.com/megalist/mega.htm
  53.  
  54. $config{'megalist'} = '/full/path/to/megalist';
  55.  
  56. #############################################
  57. # Feedback Directory
  58. # This needs the full server path to the feedback dir no trailing slash.
  59. # on Windows NT/2000 servers only you need to specify 
  60. # the drive letter (c:,d:,e:) with the server path example: 
  61. # $config{'feeddir'} = 'c:/your/server/path/cgi-bin/auction/auctiondata/feedback';
  62.  
  63. $config{'feeddir'} = '/full/path/to/feedback';
  64.  
  65. #############################################
  66. # My Page directory
  67. # This is where My Page will be stored under the auctiondata dir
  68. # no need to do anything here
  69.  
  70. $config{'mypagedir'} = 'mypage';
  71.  
  72. #############################################
  73. # My Store directory
  74. # This is where My Store will be stored under the auctiondata dir
  75. # no need to do anything here
  76.  
  77. $config{'mystoredir'} = 'mystore';
  78.  
  79. ##################################
  80. # Users auction tracking directory
  81. # This is where auction tracking will be stored under the auctiondata dir
  82. # no need to do anything here
  83.  
  84. $config{'trackpath'} = 'auctiontrack';
  85.  
  86. #-################################# 
  87. # Seller Banned Bidders Directory
  88. # This is where Banned Bidders will be stored under the auctiondata dir
  89. # no need to do anything here
  90.  
  91. $config{'bandir'} = 'banned';
  92.  
  93. ###############################
  94. # Closed Auction Directory
  95. # This is where closed auction items are stored under the auctiondata dir.
  96. # no need to do any thing here
  97.  
  98. $config{'closedir'} = 'closed';
  99.  
  100. ##################################
  101. # User Registration Directory
  102. # This needs the full server path to the user registration directory no trailing slash..
  103. # on Windows NT/2000 servers only you need to specify 
  104. # the drive letter (c:,d:,e:) with the server path example: 
  105. # $config{'regdir'} = 'c:/your/server/path/cgi-bin/auction/auctiondata/reg';
  106.  
  107. $config{'regdir'} = '/full/path/to/reg';
  108.  
  109. #####################################
  110. # Limit the number of auction items 
  111. # a user can bid on till the have so many positive
  112. # feedback left Turn on or off
  113.  
  114. $config{'limitbidding'} = 'off';
  115.  
  116. ##############################
  117. # The Max auction items a user can post or bid on 
  118. # if there postive feedbacks left are less than
  119. # the FeedBack points setup on the next setting below 
  120.  
  121. $config{'bidsallowed'} = 0;
  122.  
  123. ##############################
  124. # Postive FeedBack points needed for a user
  125. # to be able to place bids
  126. # on unlimited auction items
  127. # set to 0 to turn off
  128.  
  129. $config{'feedbackpoints'} = 0;
  130.  
  131. ##############################
  132. # Allow Auction Item Image uploads yes or no
  133.  
  134. $config{'allowimageuploads'} = 'yes';
  135.  
  136. ##############################
  137. # Allow Dutch Auctions yes or no
  138.  
  139. $config{'dutchauctions'} = 'no';
  140.  
  141. ###############################
  142. # Allow But It Now Auctions yes or no
  143.  
  144. $config{'buyitnow'} = 'yes';
  145.  
  146. #######################################
  147. # Turn on or off rotating banners
  148. # on or off
  149.  
  150. $config{'banners'} = 'off';
  151.  
  152. #######################################
  153. # Max banners users are allowed to post 
  154. # if the rotating banners are turned on
  155.  
  156. $config{'maxbanners'} = '1';
  157.  
  158. ##################################
  159. ## Special things sent by E-Mail 
  160. ##################################
  161.  
  162. #########################
  163. # E-mail the site admin when a
  164. # new user registers
  165. # on or off
  166.  
  167. $config{'newregsendtoadmin'} = 'on';
  168.  
  169. #########################
  170. # E-mail the site admin when a 
  171. # new auction item is posted
  172. # on or off
  173.  
  174. $config{'newitemsendtoadmin'} = 'off';
  175.  
  176. #############################
  177. # Turn on or off the New auction Items
  178. # Billing E-Mail send to the user
  179.  
  180. $config{'newpostbill'} = 'on';
  181.  
  182. ##############################
  183. # Turn on or off the auction relist
  184. # E-Mail confirmation sent to the user
  185.  
  186. $config{'relistemail'} = 'on';
  187.  
  188. ######################################
  189. # This is the password for the admin
  190. # Used for deleting, editing, users and 
  191. # auction items.
  192.  
  193. $config{'adminpass'} = 'webmaster';
  194.  
  195. ########################################
  196. # You need to assign either a mail program or
  197. # a mail host so auction e-mails can be sent out.
  198. # If you are using sendmail ( most commenly used on UNIX/LINX Servers )
  199. # type the full directory path to your servers sendmail here.
  200. # Example: $config{'mailprog'} = '/usr/bin/sendmail';
  201. # If you are using Sockets(SMTP) mail, rem this out using the # sign
  202. # like this #$config{'mailprog'} = '/usr/sbin/sendmail';
  203.  
  204. $config{'mailprog'} = '/full/path/to/sendmail';
  205.  
  206. # If your server uses Sockets (SMTP) mail routine most commenly used on 
  207. # WINDOWS NT/@2000 Example: $config{'smtp_addr'} = 'mail.your.com';
  208. # If not rem this out using the # sign
  209. # like this  #$config{'smtp_addr'} = 'mail.your.com';
  210.  
  211. $config{'smtp_addr'} = 'smtp.address.com';
  212.  
  213. #########################################
  214. # This line should be your e-mail address
  215. # your using for this auction site
  216. # this is where any of the admin and support 
  217. # emails will be sent (to you) 
  218.  
  219. $config{'admin_address'} = 'email address';
  220.  
  221. #######################################
  222. # This line should point to the URL of
  223. # your server.  It will be used for sending
  224. # "you have been outbid" e-mail.  The script
  225. # name and auction will be appended to the
  226. # end automatically, so DO NOT use a trailing
  227. # slash.
  228.  
  229. $config{'scripturl'} = 'http://www.ibidnation.co.uk';
  230.  
  231. ###############################
  232. # This line should point to the URL of
  233. # the auction-images dir 
  234.  
  235. $config{'imagedir'} = 'http://www.ibidnation.co.uk/auction-images/';
  236.  
  237. ##################################
  238. # This line should point to the URL of
  239. # the auction music files dir
  240.  
  241. $config{'musicdir'} = 'http://www.ibidnation.co.uk/music/';
  242.  
  243. ####################################
  244. # Site Name (will appear at the top of each auction page)
  245. # Site Name also used to display your auction name in help 
  246. # and contract displays exc...
  247.  
  248. $config{'sitename'} = 'www.ibidnation.Co.uk';
  249.  
  250. # URL to your Graphic/Logo Site name 
  251. # if blank $config{'sitegif'} = ""; the text name above 
  252. # will be displated at the top of each page
  253.  
  254. $config{'sitegif'} = "";
  255.  
  256. # Site logo or banner width
  257. $config{'width'} = "280";
  258.  
  259. # Site logo or banner height
  260. $config{'height'} = "60";
  261.  
Nov 13 '07 #1
Share this Question
Share on Google+
5 Replies


eWish
Expert 100+
P: 971
Welcome to TSDN ibid!!

I have edited your post to remove the Security Sensitive Data ie: Full Paths, Email Addresses and SMTP Information. Also, please use the [CODE][/CODE] tags when posting sample code.

Thank You,

Kevin
Nov 13 '07 #2

KevinADC
Expert 2.5K+
P: 4,059
Did you purchase the auction script?
Nov 13 '07 #3

eWish
Expert 100+
P: 971
Your hosting company should be able to tell you the path to sendmail. Most hosting companies do not offer support for third party scripts/programs. Therefore, contacting the author of the script would likely be the best method of assistance with their script/program.

Typically sendmail is in one of the three locations.
Expand|Select|Wrap|Line Numbers
  1. /usr/bin/sendmail 
  2. /usr/sbin/sendmail
  3. /usr/lib/sendmail
--Kevin
Nov 13 '07 #4

P: 2
Hi guys thanks for the replies and the edit sorry about that told ya i was a newbie not a clue ay
yes i did buy the auction site
usuall ebay i dare say
but seems to be ok bar from this email buisness
i tried the mail smtp adress from my hosting and it still dont work
soz about this i must be dumb
could any one do for me
thanks ....
Nov 13 '07 #5

KevinADC
Expert 2.5K+
P: 4,059
Hi guys thanks for the replies and the edit sorry about that told ya i was a newbie not a clue ay
yes i did buy the auction site
usuall ebay i dare say
but seems to be ok bar from this email buisness
i tried the mail smtp adress from my hosting and it still dont work
soz about this i must be dumb
could any one do for me
thanks ....
Whoever sold you the script is the person to ask for support.
Nov 13 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.