select 1
from contacts
where emailaddress = '#form.email#'
You are not subscribed to the mailing list.
delete from contacts where emailaddress = '#form.email#'
Thank you, you have been unsubscribed from the mailing list.
You are already subscribed to the mailing list.
insert into contacts (emailaddress) values ('#form.email#')
Thank you, you have been subscribed to the mailing list.
Continue to The Christopher Moore Home Page.