Semplice newsletter Flash|Php
-
Salve a tutti,
essendo semplicemete un grafico e non un programmatore chiedo gentilmente a voi. Allego lo script php. Tutto va alla perfezione anche la risposta automatica, unico problema è aprendo la mail sia di risposta che quella di comunicazione dati nell'oggetto mi si sovrappone Grazie all'indirizzo mail...<?php //PHP mailing list file //Place this file any where on your site and refrence it from the flash file, comments are supplied inside the flash file // //Insert your email address here $email="infochiocciolaesempiopuntocom"; //Variables From Flash $Semail=$_POST['mailingList']; //Email Header Format update the address below to format the send address of the email sent to you on signup of a new user //These settings may vary depending on your server set up as the mail is being generated rather than sent $headers = "From: infochiocciolaesempiopuntocom\r\nContent-type: text/html"; //Body, i.e content of the mail is formatted here, this is standard html and can easily be updated $body ="<html><head></head><body> <img src='httpduepunti//wwwesempiopuntocom/email_header.jpg' /> <br>A New Mailinglist Addition <hr> Email: $Semail<br> <hr> <div align='right'>Service Provided by <a href='httpduepunti//wwwesempiopuntocom'>esempiopuntocom</a></div> </body></html>"; mail($email, "New Mailing List Addition", $body, $headers); //Email sent back $headers2 = "From: donotreplychiocciolaesempiopuntocom\r\nContent-type: text/html"; $body2 ="<html><head></head><body> <img src='httpduepunti//wwwesempiopuntocom/email_header.jpg' /><br><br> Dear $Semail,<br><br> Grazie per aver dimostrato interesse al sito esempiopuntocom<br><br> Riceverai presto tutte le notizie riguardandi eventi e novità. Dettagli registrazione.<br><br>I tuoi dettagli: <br><hr> Email: $Semail<br> <hr><br><br> <div align='right'>Service Provided by <a href='httpduepunti//esempiopuntocomcom'>esempiopuntocom</a><br> Questa è una risposta automatica generata dal server, non rispondere a questa e-mail. Grazie. </div> </body></html>"; mail($Semail, "Thank You $Sname", $body2, $headers2); ?> -
Ciao eijiro e benvenuto sul Forum GT!
Sinceramente non ho capito cosa succede, potresti essere più preciso?
Grazie mille, un saluto.
Luca Bartoli
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi