PDA

View Full Version : Mailing List: using pre-made mailing list in Flash


free mojo
02-03-2005, 05:34 PM
Hello, i have a mailing list on my website www.freemojo.co.uk (http://www.freemojo.co.uk) but it is a fake one really, using flash and php it justs sends me an email with the persons address and sends them an email back.

Basically i want to set up a real mailing list which will organise inputted email addresses and do all the things a real mailing list will do.

My server has it's own mailing list program but i don't know how to get my current scripting to act like the basic html page that comes with the mailing list.

Does anyone know what i mean, i can go into more details about the mailing list service later.

Thanks a lot.

Dark_Element
02-04-2005, 02:28 PM
Why dont you just read the compiled page's source and record down the names of the post vars and emulate them in flash with LoadVars.send() ?

if you seriously cant do it then post over the compiled html page (the page that is desplayed in the browser) and ill see if i can write a code to emulate it in flash

free mojo
02-04-2005, 02:34 PM
Ok cheers, i think i should be able to do that, i can't unfortunatley do it now, i'm not at my own computer: no Flash.

If i can't do it i will post up the code,it would be great if i could find out how to do it.

free mojo
02-04-2005, 07:27 PM
Nope i can't do that. The mailing list that the server has is more complex and all i want is it to do the average things, i don't want passwords to be involved etc.
The source of the submit page is this (sorry it's long):
<!-- $Revision: 2.4 $ -->
<HTML>
<HEAD>
<TITLE>Freemojomail Info Page</TITLE>

</HEAD>
<BODY BGCOLOR="#ffffff">

<P>
<TABLE COLS="1" BORDER="0" CELLSPACING="4" CELLPADDING="5">
<TR>
<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#99CCFF" ALIGN="CENTER">
<B><FONT COLOR="#000000" SIZE="+1">Freemojomail --
</FONT></B>
</TD>
</TR>
<tr>
<td colspan="2">
<p>&nbsp;
</td>
</tr>
<tr>
<TD COLSPAN="1" WIDTH="100%" BGCOLOR="#FFF0D0">
<B><FONT COLOR="#000000">About Freemojomail</FONT></B>
</TD>
<TD COLSPAN="1" WIDTH="100%" BGCOLOR="#FFF0D0">
<FORM Method=POST ACTION="http://freemojo.co.uk/mailman/listinfo/freemojomail_freemojo.co.uk"> English (USA)
</FORM>
<FORM Method=POST ACTION="http://freemojo.co.uk/mailman/subscribe/freemojomail_freemojo.co.uk">
</TD>
</TR>
<tr>
<td colspan="2">
<P></P>
<p> To see the collection of prior postings to the list,
visit the <a href="/pipermail/freemojomail_freemojo.co.uk/">Freemojomail
Archives</a>.

</p>
</TD>
</TR>
<TR>
<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#FFF0D0">
<B><FONT COLOR="#000000">Using Freemojomail</FONT></B>
</TD>
</TR>
<tr>
<td colspan="2">
To post a message to all the list members, send email to
<A HREF="mailto:Freemojomail@freemojo.co.uk">Freemojomail@freemojo.co.uk</A>.

<p>You can subscribe to the list, or change your existing
subscription, in the sections below.
</td>
</tr>
<TR>
<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#FFF0D0">
<B><FONT COLOR="#000000">Subscribing to Freemojomail</FONT></B>
</TD>
</TR>
<tr>
<td colspan="2">
<P>
Subscribe to Freemojomail by filling out the following
form.
You will be sent email requesting confirmation, to
prevent others from gratuitously subscribing you. This is a private list, which means that the
list of members is not available to non-members.
<ul>
<TABLE BORDER="0" CELLSPACING="2" CELLPADDING="2"
WIDTH="70%" HEIGHT= "112">
<TR>
<TD BGCOLOR="#dddddd" WIDTH="55%">Your email address:</TD>
<TD WIDTH="33%"><INPUT type="Text" name="email" size="30" value="">
</TD>
<TD WIDTH="12%">&nbsp;</TD></TR>
<tr>
<td bgcolor="#dddddd" width="55%">Your name (optional):</td>
<td width="33%"><INPUT type="Text" name="fullname" size="30" value=""></td>
<TD WIDTH="12%">&nbsp;</TD></TR>
<TR>
<TD COLSPAN="3"><FONT SIZE=-1>You may enter a
privacy password below. This provides only mild security,
but should prevent others from messing with your
subscription. <b>Do not use a valuable password</b> as
it will occasionally be emailed back to you in cleartext.

<p>If you choose not to enter a password, one will be
automatically generated for you, and it will be sent to
you once you've confirmed your subscription. You can
always request a mail-back of your password when you edit
your personal options.
Once a month, your password will be emailed to you as a reminder.
</TD>
</TR>
<TR>
<TD BGCOLOR="#dddddd">Pick a password:</TD>
<TD><INPUT type="Password" name="pw" size="15"></TD>
<TD>&nbsp;</TD></TR>
<TR>
<TD BGCOLOR="#dddddd">Reenter password to confirm:</TD>
<TD><INPUT type="Password" name="pw-conf" size="15"></TD>
<TD>&nbsp; </TD></TR>
<tr>
<TD BGCOLOR="#dddddd">Which language do you prefer to display your messages?</TD>
<TD> English (USA)</TD>
<TD>&nbsp; </TD></TR>

<tr>
<td>Would you like to receive list mail batched in a daily
digest?
</td>
<td><input type=radio name="digest" value="0" CHECKED> No
<input type=radio name="digest" value="1"> Yes
</TD>
</tr>

<tr>
<td colspan="3">
<center><INPUT type="Submit" name="email-button" value="Subscribe"></P></center>
</TABLE>
</FORM>
</ul>
</td>
</tr>
<TR>
<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#FFF0D0">
<a name="subscribers">
<B><FONT COLOR="#000000">Freemojomail Subscribers</FONT></B></a>
</TD>
</TR>
<tr>
<TD COLSPAN="2" WIDTH="100%">
<FORM Method=POST ACTION="http://freemojo.co.uk/mailman/roster/freemojomail_freemojo.co.uk">
<INPUT name="language" type="HIDDEN" value="en" >(<i>The subscribers list is only available to the list
members.</i>) <p>Enter your address and password to visit the subscribers list: <p><center> Address: <INPUT type="Text" name="roster-email" size="20" value="">Password: <INPUT type="Password" name="roster-pw" size="15">&nbsp;&nbsp;<INPUT name="SubscriberRoster" type="SUBMIT" value="Visit Subscriber List" ></center>
</FORM>
<p>
<FORM Method=POST ACTION="http://freemojo.co.uk/mailman/options/freemojomail_freemojo.co.uk">
To unsubscribe from Freemojomail, get a password reminder,
or change your subscription options enter your subscription
email address:
<p><center> <INPUT name="email" type="TEXT" value="" size="30" > <INPUT name="UserOptions" type="SUBMIT" value="Unsubscribe or edit options" ><INPUT name="language" type="HIDDEN" value="en" ></center> If you leave the field blank, you will be prompted for
your email address
</FORM>
</td>
</tr>
</table>
<hr><address><a href="http://freemojo.co.uk/mailman/listinfo/freemojomail_freemojo.co.uk">Freemojomail</a> list run by <a href="mailto:Freemojomail-owner@freemojo.co.uk">freemojo at freemojo.co.uk</a><br><a href="http://freemojo.co.uk/mailman/admin/freemojomail_freemojo.co.uk">Freemojomail administrative interface</a> (requires authorization)<br><a href="http://freemojo.co.uk/mailman/listinfo">Overview of all freemojo.co.uk mailing lists</a><p>
<table WIDTH="100%" BORDER="0">
<tr>
<td><img src="/img-sys/mailman.jpg" alt="Delivered by Mailman" border=0><br>version 2.1.5</td>
<td><img src="/img-sys/PythonPowered.png" alt="Python Powered" border=0></td>
<td><img src="/img-sys/gnu-head-tiny.jpg" alt="GNU's Not Unix" border=0></td>
</tr>
</table>
</address>
</BODY>
</HTML>

There is an option for me to edit this page, ut the source is different, and i can't find what i should put where.
Any clues anyone, i'd really appreciate it.

Dark_Element
02-05-2005, 01:56 PM
you want the results to be returned in flash too right?.... if so i suggest you forget about my previous suggestion and go look for a alreaidy made pack (you'd save yourself a lot of time)

PS: when i suggested you that thing before i thought you wanted to only SUBMIT the data to the server end and not expecting any response

free mojo
02-23-2005, 04:29 PM
Could anyone tell me how i could go about creating a mailing list, where the user inputs their email address into flash, it is sent to a database via php, and ordered then i could write an email in another flash form and it could be organised and sent to all the people in the database of addresses, without showing who it is being sent to.
I know flash as and some php.
Thanks a lot.

brianriggs
08-20-2005, 03:40 PM
Dark_Element, are you around here?
...Unlike the poster of this thread I do want to only SUBMIT the data to the server end and I am not expecting any response. I am a flash website designer, who is more into the design and graphics side, and I just need a way so people can submit emails to the list database of my email marketing service, who is putting off flash support :eek: for their products & services. I just don't want to have to be the middle man that receives a email and that uploads it manually. I will owe you a big favor, for this! THANK YOU!!!

I have the provided sign-up form that I am unable to convert to flash on my website:

http://www.brianriggs.com/emailform.html

and this is the code with the Company's name changed(don't know what the posting rules are yet around here,... you might want to grab the source code of my url above)


<form method=post action="http://www.massemailcompany123.com/signup.pl" name=signup onsubmit="return verifyRequired();" >
<input type=hidden name=errorredirect value="http://www.massemailcompany123.com/signup/error.html">
<input type=hidden name=redirect value="http://www.massemailcompany123.com/signup/thankyou.html">
<script language=javascript>
<!--
function verifyRequired() {
if (document.signup.fields_email.value == "") {
alert("The email field is required.");
return false;
}

return true;
}
-->
</script>
<table width="260" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor=#000000><table width="100%" border="0" cellspacing="0"
cellpadding="5">
<tr>
<td bgcolor=#FFFFFF><div align="right">
<font size="2" face="Arial, Helvetica, sans-serif" color=#000000>
email
</font>
<font size="1" face="Arial,Helvetica, sans-serif" color="red"><sup> * </sup></font>
</div></td>
<td bgcolor=#FFFFFF>
<input type=text name="fields_email">
</td>
</tr>
<input type=hidden name="listid" value="9823320">
<input type=hidden name="specialid:9823320" value="CGXP">

<input type=hidden name=reallistid value="1">
<TR>
<TD bgcolor=#FFFFFF>&nbsp;</TD>
<TD bgcolor=#FFFFFF><font size="1" face="Arial,Helvetica, sans-serif" color="red"><sup> * </sup></font><font size="2" face="Arial,Helvetica, sans-serif" color="#000000"> = Required Field</FONT></TD>
</TR>
<tr>
<td bgcolor=#FFFFFF>&nbsp;</td>
<td bgcolor=#FFFFFF><input type="submit" name="Submit"
value="Submit"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>

brianriggs
08-21-2005, 10:15 PM
:DMy Goal has been accomplished and it feels great!:D

I want to give special THANKS!!! to Dark_Element, who provided me with the solution of converting the actual form from HTML to FLASH which enabled me to get it to work.

RE: More info. NOTE:
http://actionscripts.org/forums/showthread.php3?p=385852#post385852