Hi Eric

I  *almost* made it work. I've installed 
http://www.stadtaus.com/en/php_scripts/formmail_script/
on my server and made all configurations right. I can send from the
sendmail script directly in the browser.
I tried using    http://www.TiddlyTools.com/#SendTiddlerPlugin  and
http://www.TiddlyTools.com/#SendTiddlerConfig  however I failed... I
just get a blank page...
Then I copied your TiddlyTools  Contact- tiddler and modified it to
fill the fields in my own php script..
Everything seems ok - anyway I get: "The form could not be submitted"
Do you have a clue?
Are there any free 3'rd party sendmail scripts you can use without
having to host it yourself - out there?? Please give a hint if there
is...

Cheers Måns Mårtensson

On 27 Dec., 02:19, Eric Shulman <[email protected]> wrote:
> > Thank you for the response. However I have my wiki hosted by
> > tiddlyspot and do not have access to an outside server. I was hoping I
> > can do this within my tidlywiki.
>
> You're question referred to PHP code.  That is a *server-side*
> programming language with access to a server-based MTA (Mail Transport
> Agent) that dispatches the email.  However, TiddlyWiki runs *client-
> side*, in your browser, and web browsers don't generally have a built-
> in MTA with which to dispatch an email.  That is why they typically
> invoke a local desktop mail application to send mail directly from the
> client system.
>
> As a work around, you *could* try using a browser-based addon (not
> TiddlyWiki plugin) to add some MTA functionality so that the browser
> can send emails independently of any other application or server-side
> scripting.  However, I don't think this would be a robust solution, as
> it relies on non-portable browser-specific technology.  If you view
> the document from different locations (i.e., using different browsers)
> then you would need to have the same addon installed in all those
> locations in order to reliably use the 'send email' part of your
> document.
>
> In contrast, TiddlyTools' SendTiddlerPlugin takes a different
> approach: it allows you to "compose" the message locally by filling in
> a configurable HTML form definition directly in TiddlyWiki.  When you
> submit that form, the information is sent to a *server-side* script
> (that you provide) to process that information any way you want, e.g.,
> dispatching an actual email message, or perhaps just storing the
> information as a record in a server-side database.
>
> Of course, if you don't have access to a server to host a script, or
> you don't have the programming skills to write a script, then the
> above method would *seem* to be unavailable to you.  However, in
> addition to sending data to custom-written server-side scripting, you
> may also be able to use SendTiddlerPlugin to compose and submit
> tiddler data **directy to some 3rd-party online scripts**, without
> need to have ANY programming access or skills at all!
>
> Here's a basic outline:
>
> Start by visiting the page with the online form, and view the *source*
> of that page to locate the form definition it contains.
>
> Next, copy the form definition from that page into
> [[SendTiddlerConfig]], and adjust the form 'action' so that it refers
> to the complete (non-relative) URL of the original server-based script
> that will process the form submission.
>
> Then, using the SendTiddlerPlugin-defined 'substitution' syntax,
> modify the form defintion so that the desired tiddler data is
> automatically inserted into the appropriate fields for submission to
> the server-side script.
>
> You can also edit the form definition to simplify the layout or make
> any other adjustments you want.  Make sure to keep all the same input
> fields (with the same names) as the original online form, so that you
> can submit the TiddlyWiki-embedded form directly to the original
> server for processing in the normal manner.
>
> Hope this helps,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to