close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Sender is not display !

Thread began 3/26/2010 9:20 am by info321189 | Last modified 3/27/2010 6:01 am by Ray Borduin | 1328 views | 5 replies |

info321189

Sender is not display !

Hello, I use WA Universal Email 3.0.7, when the email are received the sender from is unvailable.

This is the page:

<?php require_once("WA_Universal_Email/mail_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if ((isset($_POST["button"]))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "info@myaccount.com";include("WA_Universal_Email/WAUE_testmail_1.php");

//Send Mail All Entries
if (""!="") {
header("Location: ");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="">
<label>email:
<input type="text" name="email" id="email" />
</label>message:
<textarea name="message" cols="" rows="" id="message"></textarea>
<label>
<input type="submit" name="button" id="button" value="Submit" />
</label>
</form>
</body>
</html>

This is WAUE_testmail_1.php:

<?php
$MailAttachments = "";
$MailBCC = "";
$MailCC = "";
$MailTo = "";
$MailBodyFormat = "";
$MailBody = "";
$MailImportance = "";
$MailFrom = "".((isset($_POST["email"]))?$_POST["email"]:"") ."|WA|".((isset($_POST["email"]))?$_POST["email"]:"") ."";
$MailSubject = "test";
$_SERVER["QUERY_STRING"] = "";

//Global Variables

$WA_MailObject = WAUE_Definition("smtp.myaccount.com","25","info@myaccount.com","","","");

if ($RecipientEmail) {
$WA_MailObject = WAUE_AddRecipient($WA_MailObject,$RecipientEmail);
}
else {
//To Entries
}

//Attachment Entries

//BCC Entries

//CC Entries

//Body Format
$WA_MailObject = WAUE_BodyFormat($WA_MailObject,0);

//Set Importance
$WA_MailObject = WAUE_SetImportance($WA_MailObject,"3");

//Start Mail Body
$MailBody = $MailBody . "";
$MailBody = $MailBody . ((isset($_POST["message"]))?$_POST["message"]:"");
$MailBody = $MailBody . "";
//End Mail Body

$WA_MailObject = WAUE_SendMail($WA_MailObject,$MailAttachments,$MailBCC,$MailCC,$MailTo,$MailImportance,$MailFrom,$MailSubject,$MailBody);

$WA_MailObject = null;
?>

What is wrong ? I made lot of test page but the result is the same...

Sign in to reply to this post

Ray BorduinWebAssist

try replacing:

$MailFrom = "".((isset($_POST["email"]))?$_POST["email"]:"") ."|WA|".((isset($_POST["email"]))?$_POST["email"]:"") ."";

with:

$MailFrom = "".((isset($_POST["email"]))?$_POST["email"]:"") ."";

Sign in to reply to this post
Did this help? Tips are appreciated...

info321189

Hello Ray, I try but I get same thing...

Sign in to reply to this post

Ray BorduinWebAssist

I'd upgrade to UE v4. I think it is only $19 for the upgrade and it will have significant improvements including fixing this issue I believe.

Sign in to reply to this post
Did this help? Tips are appreciated...

info321189

Hello Ray, I use other WA products like powerstore, if I update to version 4 I can edit powerstore email pages ?

Sign in to reply to this post

Ray BorduinWebAssist

You should be able to update powerstore emails with version 3 as well. Also powerstore 3 emails are created from a template, so you can edit that email body with Dreamweaver and without any of our tools.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...