DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Advanced Mail  
DwZone Forum Index -> Advanced Mail
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 21 to 30 of 98 (Total: 94) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: PHP Not the Same as Advance Mail  
View this persons public profile  Gianluigi   9:55 1 Mar 2018  
   Input type problem and redirect error  
View this persons public profile  Martin Cotterill   6:30 30 Dec 2017  
    Re: Input type problem and redirect error  
View this persons public profile  Martin Cotterill   3:32 6 Jan 2018  
 
Hi again

Sorry to be such a pain but I really need this resolved as it's holding us up.

I've made a very basic page and it still doesn't work.

Can you tell me what is wrong here please?


<?php
//*********************************
//* http://www.DwZone-it.com
//* Send Mail
//* Version 1.1.33
//*********************************
require_once("dwzMail/dwzMail.php");
if("Void" != "Void"){
require_once("Connections/Void.php");
}
$mail = new dwzMail();
$mail->Init();
$mail->SetMailComponent("@_#[email protected]@_#_@587@_#_@[email protected]@_#_@technical@_#_@sendmail@_#_@@_#_@");
$mail->SetRootPath("");
$mail->SetForm("bookingForm");
$mail->SetDbRegister("0@_#_@Void@_#_@ @_#_@ ");
$mail->SetDbParam($hostname_Void, $database_Void, $username_Void, $password_Void);
$mail->SetLogInfo("0@_#_@ @_#_@0");
$mail->SetEncoding("utf-8;65001;Unicode (UTF-8)");
$mail->Execute();
?><?php
//*********************************
//* Send Mail
//*********************************
$mail->SetRecordset($Null);
$mail->SetMailComponent("@_#[email protected]@_#_@587@_#_@[email protected]@_#_@technical@_#_@sendmail@_#_@@_#_@");
$mail->SetMailPar("0@_#_@fname@_form_@@_#_@[email protected]@_#_@ @_#_@ @_#_@TheDad@_#_@[email protected]@_#_@3@_#_@utf-8;65001;Unicode (UTF-8)@_#_@ @_#_@3@_#_@ @_#_@ @_#_@fname@_#_@post@_#_@@_#_@false@_#_@5600@_#_@0@_#_@@_#_@");
$mail->SetBodyMail("Test Form@_#_@0@_#_@");
$mail->SetBodyFromDynamicPage("");
$mail->SetRedirectUrl("thankyou.php");
$mail->SetBodyText("Dear,myErremyCrLf<br>myErremyCrLfFirst Name = #fname#myErremyCrLf<br>myErremyCrLf");
$mail->SetImages("");
$mail->SetAttachments("@_#_@@_#_@1");
$mail->SetReplace("#fname#;fname@_form_@");
$mail->SetOtherParam("#000000@_#_@25@_#_@");
$mail->CreateData();
?>
<?php require_once('Connections/Quakers.php'); ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title><?php
//*********************************
//* Send Mail
//*********************************
InsertJsIncludes("");
?>
</head>

<body>

<form onsubmit="<?php echo("return dwzSendMail('25','0','')"); ?>" name="bookingForm">

<input type="text" name="fname">

<input type="submit" value="Submit">
</form>


<?php
//*********************************
//* Send Mail
//*********************************
GetDivAjaxMail("25", "#000000");
?>

</body>
</html>


I really need this sorted.

Regards
Martin

 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Input type problem and redirect error  
View this persons public profile  Martin Cotterill   5:37 28 Jan 2018  
   Re: Input type problem and redirect error  
View this persons public profile  Gianluigi   4:32 3 Feb 2018  
   Re: Input type problem and redirect error  
View this persons public profile  Martin Cotterill   5:50 3 Feb 2018  
   Re: Input type problem and redirect error  
View this persons public profile  Gianluigi   6:17 3 Feb 2018  
   Re: Input type problem and redirect error  
View this persons public profile  Martin Cotterill   9:37 3 Feb 2018  
   Re: Input type problem and redirect error  
View this persons public profile  Gianluigi   11:27 3 Feb 2018  
   Re: Input type problem and redirect error  
View this persons public profile  Martin Cotterill   10:20 4 Feb 2018  
Last Visit: Sunday 19 May, 2024 8:12 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: