Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 7th, 2003, 08:20 PM
Authorized User
 
Join Date: Jun 2003
Location: New orleans, Louisiana, USA.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mailing List app has more errors - Help

Here is another one.

Please note the html link resulting from the subscribe form:


http://localhost/ThePhileVB/WebModules/MailingLists/Subscribe.aspx?ListId=14&FirstName=david&LastName= soul&Email=oo7_soul@YAHOO.COM&Submit1=Submit&Actio n=Subscribe

This brings up the results page subscribe.aspx with the following:

Welcome to the mailing list DVD
Welcome to the mailing list DVD, dear david soul.
We hope you'll enjoy our news!

- ThePhile.COM

===============================
Click the following link to unsubscribe:
http://localhost/ThePhileVB/WebModul...soul@yahoo.com

Please note that the link to unsubscribe doesn't have the ID numbers.

The New Subscription Email doesn't have the numbers either.

What's going on? Is there a updated version of this code??

How do is fix this?
  #2 (permalink)  
Old September 7th, 2003, 10:14 PM
Authorized User
 
Join Date: Jun 2003
Location: New orleans, Louisiana, USA.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I figured out part of my problem: #ListID# is case sensitive.

The Helper.vb class has the following

Public Class Helper
    Inherits Wrox.WebModules.Business.BizObject


    ' Methods
    '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    ' Replace the special list's tags with their values
    ' ---
    Public Shared Function ProcessListTags( _
     ByVal message As String, _
     ByVal listId As Integer) _
     As String

     Dim list As New Business.List(listId)

            message = message.Replace("#ListId#", listId.ToString())

I changed the string value to something that I could remember "#ListID#". If you don't see the difference the ID is uppercase. :D

Now on the settings.aspx form: #SubscribeURL#?ListID=#ListID#&Action=Uns ubscribe&Email=#SubscriberEmail#
will work, however, for those of you that don't won't to change the code, just change the #ListID# to #ListId# on the settings form.

At least now all the values are being past, but this didn't fix the link.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About Mailing List ssomchai BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 May 5th, 2008 10:05 PM
Mailing List Carriemh Beginning PHP 2 September 2nd, 2006 07:17 AM
Newsletter Mailing List Manager PySpencer Beginning PHP 6 December 21st, 2003 07:13 PM
Mailing list module has error - HELP drfunkie BOOK: ASP.NET Website Programming Problem-Design-Solution 3 September 8th, 2003 12:09 PM
mailing list using php dungey PHP How-To 1 June 4th, 2003 02:50 PM



All times are GMT -4. The time now is 01:54 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.