%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% ' *** Restrict Access To Page: Grant or deny access to this page MM_authorizedUsers="" MM_authFailedURL="login.asp" MM_grantAccess=false If Session("MM_Username") <> "" Then If (true Or CStr(Session("MM_UserAuthorization"))="") Or _ (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then MM_grantAccess = true End If End If If Not MM_grantAccess Then MM_qsChar = "?" If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&" MM_referrer = Request.ServerVariables("URL") if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString() MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer) Response.Redirect(MM_authFailedURL) End If %> <% Dim MemEmail__MMColParam MemEmail__MMColParam = "Active" If (Request("MM_EmptyValue") <> "") Then MemEmail__MMColParam = Request("MM_EmptyValue") End If %> <% Dim MemEmail Dim MemEmail_numRows Set MemEmail = Server.CreateObject("ADODB.Recordset") MemEmail.ActiveConnection = MM_PBBMember_STRING MemEmail.Source = "SELECT FirstName, LastName, Email FROM RosterNew WHERE Status = '" + Replace(MemEmail__MMColParam, "'", "''") + "' AND Email Is Not Null" MemEmail.CursorType = 0 MemEmail.CursorLocation = 2 MemEmail.LockType = 1 MemEmail.Open() MemEmail_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 MemEmail_numRows = MemEmail_numRows + Repeat1__numRows %> <% Dim BuildAddress While ((Repeat1__numRows <> 0) AND (NOT MemEmail.EOF)) 'BuildAddress = BuildAddress + "'" + (MemEmail.Fields.Item("FirstName").Value) + " " + (MemEmail.Fields.Item("LastName").Value) + "<" +(MemEmail.Fields.Item("Email").Value) + ">; " If BuildAddress <> "" Then BuildAddress = BuildAddress + "; " + (MemEmail.Fields.Item("Email").Value) Else BuildAddress = BuildAddress + (MemEmail.Fields.Item("Email").Value) End If Repeat1__index=Repeat1__index+1 Repeat1__numRows=Repeat1__numRows-1 MemEmail.MoveNext() Wend Session("AddressString") = BuildAddress %>
![]() |
![]() |
| Members' Area >> Send an Email to the PBB Roster |
|
Member Email List |
|
Instructions: Click on the link below to send an email to the entire PBB roster. This will open your default email program and create a new message with the "To:" field filled with the addresses of all current PBB members. When you are done composing your message, just send it the same way you normally would. Note: Not all internet software supports this feature. If you do not use a separate email application (such as Outlook, Outlook Express, Eudora, etc.) this feature may not work for you. |
|
">Click Here to email the entire PBB roster |
<% MemEmail.Close() Set MemEmail = Nothing %>