close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Godaddy and Universal Email problems

Thread begun 8/27/2009 10:03 am by glen80596 | Last modified 8/27/2009 10:52 am by glen80596 | 4962 views | 1 replies |

glen80596

Godaddy and Universal Email problems

I have Universal Email 2.8. I have recently moved a website over to Godaddy.com for hosting, and I cannot get the ASP forms to work there... using CDONTS or CDOSYS. I have checked my settings and all appears to be correct, but the forms will still not process or send emails.

Please advise. Will the newest version of Universal Email work at Godaddy?

Thanks

Sign in to reply to this post

glen80596

Never Mind - It's Working

Never mind, it's working now. I just had to rebuild the form and apply the Universal Email script from scratch again. Not sure why it wasn't working to begin with. Anyway, my fault.

Universal Email works fine at Godaddy.com. You have to use the following settings:

CDOSYS
Remote Host: relay-hosting.secureserver.net
Port: 25

Sign in to reply to this post

mikemiloserdoff434944

Rebuilding Universal Email Scripting - What's iinvolved ??

I am a little more proficient with php and Universal Email now than I was a few months ago, and would like to clean out my original form from Universal Email scripting and restart the email sendout scripting cleanly. What are all of the pieces I need to clean out from the form and the associated php scripts that were built? If I had a general road map, I could probably take it from there. Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

you just need to delete the UE code from your page. Send a copy of your page, and i can tell you exactly what to delete if you are not sure.

Sign in to reply to this post

mikemiloserdoff434944

Jason, my page to be rebuilt of Univ. Email...

Jason:

Below is my page, show me my deletions required to rebuild, and I will keep it going forward.

My secondary concern is the require_once files that Universal Email puts in the primary page. Are these members that Webassist builds in the email folder reusable as-is, or are they rebuilt new on each UE add into the page ? ? What happens to these files if I delete the code in the page below, do I also have to delete them along with the code below ? Thanks a lot...

<?php require_once("../webassist/email/verify_email_address.php"); ?>
<?php require_once("../webassist/email/mail_php.php"); ?>
<?php require_once("../webassist/email/mailformatting_php.php"); ?>
<?php
if (!isset($_SESSION))session_start();
if ((isset($_POST["word_btn"]))) {
//WA Universal Email object="mail"
set_time_limit(0);
$EmailRef = "waue_word_format_1";
$BurstSize = 200;
$BurstTime = 1;
$WaitTime = 1;
$GoToPage = "thank_you.php";
$RecipArray = array();
$StartBurst = time();
$LoopCount = 0;
$TotalEmails = 0;
$RecipIndex = 0;
// build up recipients array
$CurIndex = sizeof($RecipArray);
$RecipArray[$CurIndex] = array();
$RecipArray[$CurIndex ][] = "".((isset($_POST["email"]))?$_POST["email"]:"") ."";
$TotalEmails += sizeof($RecipArray[$CurIndex]);
$RealWait = ($WaitTime<0.25)?0.25:($WaitTime+0.1);
$TimeTracker = Array();
$TotalBursts = floor($TotalEmails/$BurstSize);
$AfterBursts = $TotalEmails % $BurstSize;
$TimeRemaining = ($TotalBursts * $BurstTime) + ($AfterBursts*$RealWait);
if ($TimeRemaining < ($TotalEmails*$RealWait) ) {
$TimeRemaining = $TotalEmails*$RealWait;
}
$_SESSION[$EmailRef."_Total"] = $TotalEmails;
$_SESSION[$EmailRef."_Index"] = 0;
$_SESSION[$EmailRef."_Remaining"] = $TimeRemaining;
while ($RecipIndex < sizeof($RecipArray)) {
$EnteredValue = is_string($RecipArray[$RecipIndex][0]);
$CurIndex = 0;
while (($EnteredValue && $CurIndex < sizeof($RecipArray[$RecipIndex])) || (!$EnteredValue && $RecipArray[$RecipIndex][0])) {
$starttime = microtime_float();
if ($EnteredValue) {
$RecipientEmail = $RecipArray[$RecipIndex][$CurIndex];
} else {
$RecipientEmail = $RecipArray[$RecipIndex][0][$RecipArray[$RecipIndex][2]];
}
$EmailsRemaining = ($TotalEmails- $LoopCount);
$BurstsRemaining = ceil(($EmailsRemaining-$AfterBursts)/$BurstSize);
$IntoBurst = ($EmailsRemaining-$AfterBursts) % $BurstSize;
if ($AfterBursts<$EmailsRemaining) $IntoBurst = 0;
$TimeRemaining = ($BurstsRemaining * $BurstTime * 60) + ((($AfterBursts<$EmailsRemaining)?$AfterBursts:$EmailsRemaining)*$RealWait) - (($AfterBursts>$EmailsRemaining)?0:($IntoBurst*$RealWait));
if ($TimeRemaining < ($EmailsRemaining*$RealWait) ) {
$TimeRemaining = $EmailsRemaining*$RealWait;
}
$CurIndex ++;
$LoopCount ++;
session_commit();
session_start();
$_SESSION[$EmailRef."_Index"] = $LoopCount;
$_SESSION[$EmailRef."_Remaining"] = round($TimeRemaining);
session_commit();
wa_sleep($WaitTime);
include("../webassist/email/waue_word_format_1.php");
$endtime = microtime_float();
$TimeTracker[] =$endtime - $starttime;
$RealWait = array_sum($TimeTracker)/sizeof($TimeTracker);
if ($LoopCount % $BurstSize == 0 && $CurIndex < sizeof($RecipArray[$RecipIndex])) {
$TimePassed = (time() - $StartBurst);
if ($TimePassed < ($BurstTime*60)) {
$WaitBurst = ($BurstTime*60) -$TimePassed;
wa_sleep($WaitBurst);
}
else {
$TimeRemaining = ($TotalEmails- $LoopCount)*$RealWait;
}
$StartBurst = time();
}
if (!$EnteredValue) {
$RecipArray[$RecipIndex][0] = mysql_fetch_assoc($RecipArray[$RecipIndex][1]);
}
}
$RecipIndex ++;
}
$_SESSION[$EmailRef."_Total"] = 0;
$_SESSION[$EmailRef."_Index"] = 0;
$_SESSION[$EmailRef."_Remaining"] = 0;
session_commit();
session_start();
if ($GoToPage!="") {
header("Location: ".$GoToPage);
}
}
?>
<!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 profile="http://gmpg.org/xfn/11">
<title>Mike's Work Profile - Send Word Resume Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="word_format.css" type="text/css" media="all" />
<style type="text/css">
body {
background-color: #192f7c;
font-weight: bold;
}
.TechieEmailResumeButton {
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 20px;
background-image: -moz-linear-gradient(top, #FF66CC, #bc312e);
background-image: -o-linear-gradient(top, #FF66CC, #bc312e);
background-image: -webkit-linear-gradient(#FF66CC, #bc312e);
background-image: -webkit-gradient(linear,left top, left bottom, color-stop(0, #FF66CC), color-stop(1, #bc312e));
background-image: linear-gradient(top, #FF66CC, #bc312e);
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#FF66CC', EndColorStr='#bc312e', GradientType=0);
-ms-filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#FF66CC', EndColorStr='#bc312e', GradientType=0);
border-style: solid;
color: #000000;
background-color: #0099FF;
border-color: #7f7f80;
font-family: Arial, Verdana, sans-serif;
font-size: 0.9em;
border-width: 1px;
-moz-border-radius: 18px;
-webkit-border-radius: 18px;
-khtml-border-radius: 18px;
border-radius: 18px;
-moz-box-shadow: 2px 2px 6px #c7c7c7;
-webkit-box-shadow: 2px 2px 6px #c7c7c7;
box-shadow: 2px 2px 6px #c7c7c7;
behavior: url(../webassist/button_styles/ie-css3.htc);
border: 2px solid #000000;
outline-style: none;
text-decoration: underline;
width: 100px;
height: 40px;
}TechieEmailResumeButton:hover {
color: #ffffff;
-moz-box-shadow: 2px 2px 6px #c7c7c7;
-webkit-box-shadow: 2px 2px 6px #c7c7c7;
box-shadow: 2px 2px 6px #c7c7c7;
behavior: url(../webassist/button_styles/ie-css3.htc);
}
#H3_white_text {
color: #FCEF42;
}
</style>
</head>
<body>


<form class="form">

<h4 class="name" id="H3_white_text">Please send a Word format resume to the email address below;</h4>
<p class="name">
<input type="text" name="name" id="name" />
<label for="name">Recipient Name</label>
</p>

<p class="email">
<input type="text" name="email" id="email" />
<label for="email">E-mail Address</label>
</p>

<p class="comment">
<textarea name="text">Enter any comments for email here.</textarea>
<label for="text">Comments in E-mail</label>
<input name="comment" type="hidden" value="<?php echo $_POST["text"]; ?>">
</p>

<p class="comment">
<input type="submit" value="Submit" class="TechieEmailResumeButton" id="word_submit_btn" name="word_submit_btn" />
</p>

</form>

</body>
</html>

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to delete the following code:

php:
<?php require_once("../webassist/email/verify_email_address.php"); ?>

<?php 
require_once("../webassist/email/mail_php.php"); ?>
<?php 
require_once("../webassist/email/mailformatting_php.php"); ?>
<?php
if (!isset($_SESSION))session_start();
if ((isset(
$_POST["word_btn"]))) {
//WA Universal Email object="mail"
set_time_limit(0);
$EmailRef "waue_word_format_1";
$BurstSize 200;
$BurstTime 1;
$WaitTime 1;
$GoToPage "thank_you.php";
$RecipArray = array();
$StartBurst time();
$LoopCount 0;
$TotalEmails 0;
$RecipIndex 0;
// build up recipients array
$CurIndex sizeof($RecipArray);
$RecipArray[$CurIndex] = array();
$RecipArray[$CurIndex ][] = "".((isset($_POST["email"]))?$_POST["email"]:"") ."";
$TotalEmails += sizeof($RecipArray[$CurIndex]);
$RealWait = ($WaitTime<0.25)?0.25$WaitTime+0.1);
$TimeTracker = Array();
$TotalBursts floor($TotalEmails/$BurstSize);
$AfterBursts $TotalEmails $BurstSize;
$TimeRemaining = ($TotalBursts $BurstTime) + ($AfterBursts*$RealWait);
if (
$TimeRemaining < ($TotalEmails*$RealWait) ) {
$TimeRemaining $TotalEmails*$RealWait;
}
$_SESSION[$EmailRef."_Total"] = $TotalEmails;
$_SESSION[$EmailRef."_Index"] = 0;
$_SESSION[$EmailRef."_Remaining"] = $TimeRemaining;
while (
$RecipIndex sizeof($RecipArray)) {
$EnteredValue is_string($RecipArray[$RecipIndex][0]);
$CurIndex 0;
while ((
$EnteredValue && $CurIndex sizeof($RecipArray[$RecipIndex])) || (!$EnteredValue && $RecipArray[$RecipIndex][0])) {
$starttime microtime_float();
if (
$EnteredValue) {
$RecipientEmail $RecipArray[$RecipIndex][$CurIndex];
} else {
$RecipientEmail $RecipArray[$RecipIndex][0][$RecipArray[$RecipIndex][2]];
}
$EmailsRemaining = ($TotalEmails$LoopCount);
$BurstsRemaining ceil(($EmailsRemaining-$AfterBursts)/$BurstSize);
$IntoBurst = ($EmailsRemaining-$AfterBursts) % $BurstSize;
if (
$AfterBursts<$EmailsRemaining$IntoBurst 0;
$TimeRemaining = ($BurstsRemaining $BurstTime 60) + ((($AfterBursts<$EmailsRemaining)?$AfterBursts:$Em ailsRemaining)*$RealWait) - (($AfterBursts>$EmailsRemaining)?0$IntoBurst*$Re alWait));
if (
$TimeRemaining < ($EmailsRemaining*$RealWait) ) {
$TimeRemaining $EmailsRemaining*$RealWait;
}
$CurIndex ++;
$LoopCount ++;
session_commit();
session_start();
$_SESSION[$EmailRef."_Index"] = $LoopCount;
$_SESSION[$EmailRef."_Remaining"] = round($TimeRemaining);
session_commit();
wa_sleep($WaitTime);
include(
"../webassist/email/waue_word_format_1.php");
$endtime microtime_float();
$TimeTracker[] =$endtime $starttime;
$RealWait array_sum($TimeTracker)/sizeof($TimeTracker);
if (
$LoopCount $BurstSize == && $CurIndex sizeof($RecipArray[$RecipIndex])) {
$TimePassed = (time() - $StartBurst);
if (
$TimePassed < ($BurstTime*60)) {
$WaitBurst = ($BurstTime*60) -$TimePassed;
wa_sleep($WaitBurst);
}
else {
$TimeRemaining = ($TotalEmails$LoopCount)*$RealWait;
}
$StartBurst time();
}
if (!
$EnteredValue) {
$RecipArray[$RecipIndex][0] = mysql_fetch_assoc($RecipArray[$RecipIndex][1]);
}
}
$RecipIndex ++;
}
$_SESSION[$EmailRef."_Total"] = 0;
$_SESSION[$EmailRef."_Index"] = 0;
$_SESSION[$EmailRef."_Remaining"] = 0;
session_commit();
session_start();
if (
$GoToPage!="") {
header("Location: ".$GoToPage);
}
}
?>




deleteing the code will not delete the files, you would need to delete the files manually

Sign in to reply to this post

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...