|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Sep 2006
Città: Pisa
Messaggi: 1270
|
[XML]Come si compila un file xml che gestisce un form per l'invio di messaggi?
Ciao a tutti ragazzi.
Vengo subito al dunque, spero possiate aiutarmi. Ho un template di un sito fatto in flash, e nella sezione contatti c'è un form per l'invio di messaggi, solo che non riesco a farlo funzionare. Cioè sembra funzionare quando provo a mandare un messaggio, dà anche il messaggio di OK che il messaggio è stato inviato, ma in realtà non invia nulla. Come devo fare? Ho un dominio su aruba con windows, che dati devo inserire nel file .xml a parte quelli evidenti (tipo email del destinatario etc..) per fare in modo che i messaggi vengano inviati??? Grazie!! Di seguito vi incollo il file di cui parlo, ci sono anche le istruzioni, ma ci sono alcune sezioni in cui non so proprio cosa mettere, e penso di dover mettere qualcosa che ha a che fare con aruba da qualche parte.. ma non so dove ne come (Non vi spaventate della lunghezza del documento, sono più le istruzioni in inglese che le righe di codice..) Codice:
<?xml version="1.0" encoding="utf-8"?> <contactFormConfiguration> <!-- -- An e-mail address which will be used to receive messages from your contact form. -- You can specify several e-mail addresses separating them with a comma. -- For example: [email protected], [email protected], [email protected] --> <emailTo>[email protected]</emailTo> <!-- -- A server script type which will process sending e-mails. It depends on your -- hosting and in the current version of the contact form it is allowed to use -- two types: php (Apache, PHP Hosting); asp (IIS web server, ASP). --> <serverProcessorType>php</serverProcessorType> <!-- -- A name of the script file which process sending e-mails on your server (without -- extension). The name contact is used by default. --> <serverProcessorFileName>contact</serverProcessorFileName> <!-- -- Text showing to the user when the form is submitted without any errors. --> <messageSentText>Thank you for your message.</messageSentText> <!-- -- Text showing in case the form is not submitted because of a server error. --> <messageSentFailedText>Error. The Message Could Not Be Sent. Please try again.</messageSentFailedText> <!-- -- Text your visitor will see while waiting till the processing is over. --> <formProcessingText>processing...</formProcessingText> <!-- -- Your SMTP server (for ASP only). --> <smtpServer>localhost</smtpServer> <!-- -- Your SMTP port (for ASP only). --> <smtpPort>25</smtpPort> <!-- -- Set whether to send the message as a plain text (true) or as HTML (false). --> <plainText>false</plainText> <!-- -- ID of the input field (in the structure XML file) to use for the “from: ” -- or “sender: ” label in your e-mail client. --> <emailFromSource>1</emailFromSource> <!-- -- Subject of the e-mails that will be sent through this contact form or ID of -- the input field (in the structure XML file) to use for the “subject: ” label -- in your e-mail client. --> <subjectSource>Contact Form from your site</subjectSource> </contactFormConfiguration>
__________________
"C'è molto più della carne dietro questa maschera... Dietro questa maschera c'è un'idea signor Creedy... e le idee sono a prova di proiettile!" (V) Canon 5D Mark II + Canon 24-105mm f/4 L IS USM + Canon 50mm f/1.8 + un pò di altra roba.... _.-::"Le mie foto su Flickr"::-._ |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Jun 2005
Messaggi: 419
|
sò che è una discussione un pò vecchia, ma ho il tuo stesso problema ho un sito su ar..ba e per inviare le email ho necessità di aggiungere al form che hai anche tu nome utente e password del server smtp.. Come hai risolto?
Grazie
__________________
NO!!! |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 02:51.



















