Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About annyvz

  • Rank

Profile Information

  • Gender
  1. Hi, I apologize if I am in the wrong forum, PHP was my best guess. I want to know if the attached screenshot layout ca/was built with PHP? Or can something similar be built with PHP? Here is the link: http://www.microsoftvirtualacademy.com/training-courses/build-classroom-community-with-yammer Any help would be greatly appreciated Thank you
  2. Hi, I am very new to ASP, please bare with me :-) I have a website that was handed over to me, and I restyled with CSS, the website is built in ASP. One of the pages had a 'Save' button, which is now missing, and I cannot seem to find it.. When looking at the code with firebug, I can see the CancelButton & DeleteButton inputs (Code below), however the SaveButton input is not there. I want to go add the button in, but I cannot seem to find the user control that manages those inputs? Is there maybe some kind of software that can point you towards the file where the user control is pointing from? Hope this makes sense... Any help will be greatly appreciated. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- <td align="left" style="width:53px;" class="standardText" id="SaveButton" language="javascript" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("SaveButton", "", true, "", "", false, false))" value="Save" name="SaveButton" type="submit" <input=""> <input type="submit" style="width:53px;" class="standardText" id="CancelButton" value="Cancel" name="CancelButton"> <input type="submit" class="standardText" id="DeleteButton" language="javascript" onclick="return confirm('Are you sure you want to delete this project?');" value="Delete" name="DeleteButton"> </td> <input type="submit" style="width:53px;" class="standardText" id="CancelButton" value="Cancel" name="CancelButton"> <input type="submit" class="standardText" id="DeleteButton" language="javascript" onclick="return confirm('Are you sure you want to delete this project?');" value="Delete" name="DeleteButton"> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  3. Hi, I have two <div> tags on a page containing some info, Is there a way to force these two divs to be fluid/scalable as the page is sized? Please see my illustrations attached. Thank you.
  4. I have found that certain mail browsers does not support CSS, here is a comprehensive list that shows what is supported where: https://www.campaignmonitor.com/css/ If anyone knows a way around this, please let me know, Thanks
  5. Hi I have coded an e mailer to go out with SQL server management studio, however when I execute the file it looses all the CSS styling. I have tried putting the styles inline, still no luck. Is there any way to fix/bypass this? See my previews attached. Here is my code: --USE [issueTrackerDPS]--GO--/****** Object: StoredProcedure [dbo].[issueTracker_Issue_SendWeekly_ToBeClosed] Script Date: 09/08/2014 11:40:06 ******/--SET ANSI_NULLS ON--GO--SET QUOTED_IDENTIFIER ON--GO--ALTER PROCEDURE [dbo].[issueTracker_Issue_SendWeekly_ToBeClosed]--ASDECLARE @IssueId int, @IssueTitle varchar(100), @ProjectName varchar(100), @LastUpdated date, @FirstReminder date, @CloseDate date, @Result varchar(50), @ReportedBy varchar(100)DECLARE @TempTBL table (IssueId int, IssueTitle varchar(200), ProjectName varchar(100), LastUpdated date, FirstReminder date, CloseDate date, Result varchar(50), ReportedBy varchar(100))DECLARE @OuterCNT int, @InnerCNT intDECLARE @EmailString varchar(500)DECLARE @MailTo varchar(100)DECLARE @MailSubject varchar(50) = 'Issue "To Be Closed" Notification'DECLARE @MailBodyFinal nvarchar(max)DECLARE @MailBody1 nvarchar(max)DECLARE @MailBody2 nvarchar(max)DECLARE C1 CURSOR FOR SELECT DISTINCT b.CustomFieldValue + ';' + d.Email + ';' AS Email FROM vProjectReport a JOIN IssueTracker_ProjectCustomFieldValues b ON a.issueid = b.issueid JOIN IssueTracker_Issues c ON a.IssueId = c.IssueId JOIN IssueTracker_Users d ON c.IssueAssignedId = d.UserId WHERE a.MilestoneName LIKE 'To Be Closed' AND a.StatusName = 'Waiting on Response' AND b.CustomFieldId in (SELECT CustomFieldId FROM dbo.IssueTracker_ProjectCustomFields WHERE CustomFieldName = 'Reported By')OPEN C1FETCH NEXT FROM C1 INTO @EmailStringWHILE @@FETCH_STATUS = 0BEGINSET @OuterCNT = 0SET @InnerCNT = (SELECT LEN(@EmailString) - LEN(REPLACE(@EmailString,';',''))) WHILE @OuterCNT < @InnerCNT BEGIN SET @ReportedBy = (SELECT left((substring(@EmailString,1,(charindex(';',@EmailString)-1))),(len(@EmailString)))) SET @EmailString = (SELECT right(@EmailString,(Len(@EmailString) - (charindex(';',@EmailString))))) SET @OuterCNT = @OuterCNT + 1 IF (SELECT ReportedBy FROM @TempTBL WHERE ReportedBy = @ReportedBy) is null and @ReportedBy != '' INSERT INTO @TempTBL (ReportedBy) SELECT @ReportedBy ENDFETCH NEXT FROM C1 INTO @EmailStringENDCLOSE C1DEALLOCATE C1DECLARE C2 CURSOR FOR SELECT DISTINCT ReportedBy FROM @TempTBLOPEN C2FETCH NEXT FROM C2 INTO @ReportedByWHILE @@FETCH_STATUS = 0BEGINDELETE FROM @TempTBL WHERE ReportedBy = @ReportedByINSERT INTO @TempTBL (IssueId, IssueTitle, ProjectName, Result, ReportedBy) SELECT a.issueid, a.IssueTitle, a.ProjectName, a.Result, @ReportedBy FROM vProjectReport a JOIN IssueTracker_ProjectCustomFieldValues b ON a.issueid = b.issueid JOIN IssueTracker_Issues c ON a.IssueId = c.IssueId JOIN IssueTracker_Users d ON c.IssueAssignedId = d.UserId WHERE a.MilestoneName LIKE 'To Be Closed' AND a.StatusName = 'Waiting on Response' AND b.CustomFieldId in (SELECT CustomFieldId FROM dbo.IssueTracker_ProjectCustomFields WHERE CustomFieldName = 'Reported By') and (SELECT (b.CustomFieldValue + ';' + d.Email)) like '%' + @ReportedBy + '%'FETCH NEXT FROM C2 INTO @ReportedByENDCLOSE C2DEALLOCATE C2DECLARE C3 CURSOR FOR SELECT DISTINCT IssueId FROM @TempTBLOPEN C3FETCH NEXT FROM C3 INTO @IssueIdWHILE @@FETCH_STATUS = 0BEGINSET @LastUpdated = (SELECT MAX(DateCreated) FROM IssueTracker_IssueHistory WHERE IssueId = @IssueId)SET @FirstReminder = (SELECT DATEADD(WEEK, DATEDIFF(WEEK, 0, @LastUpdated), 7))SET @CloseDate = (SELECT DATEADD(WEEK, DATEDIFF(WEEK, -14, @FirstReminder), 7))UPDATE @TempTBL SET LastUpdated = @LastUpdated, FirstReminder = @FirstReminder, CloseDate = @CloseDate WHERE IssueId = @IssueIdFETCH NEXT FROM C3 INTO @IssueIdENDCLOSE C3DEALLOCATE C3DECLARE C4 CURSOR FOR SELECT DISTINCT ReportedBy FROM @TempTBL WHERE ReportedBy like '%wy%'OPEN C4FETCH NEXT FROM C4 INTO @MailToWHILE @@FETCH_STATUS = 0BEGINSET @MailSubject = 'Issue "To Be Closed" Notification'SET @MailBody1 = ''SET @MailBody2 = ''SET @MailBody1 = '<html><head><title>DPS_IST# (CONVERT(Char(5),@IssueID)) _Full_Issue_Log</title><meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" /><style type="text/css">.a:link {color: #CF020E}.a:visited {color: #CF020E}.a:hover {color: #CF020E}.a:active {color: #CF020E}.a.white:link {color: #ffffff; background: #none; text-decoration: none;font-weight:none;}.a.white:active {color: #ffffff; background: #none; text-decoration: none;font-weight:none;}.a.white:visited {color: #ffffff; background: #none; text-decoration: none;font-weight:none;}.a.white:hover {color: #ffffff; background: #none;text-decoration: none;font-weight:none;}.responsive-image {height:auto;width:100%;}.skype_php_container {display:none !important}.skype_php_print_container {display:inline !important}.image {position: center;}.h2 {color: #ffffff;font-family: Arial,Helvetica,sans-serif;font-size: 17px;font-weight: bold;height: 5px;left: -15px;line-height: 120%;position: relative;text-decoration: none;top: -109px;width: 100%; }.h2.pos_left {position: relative;left: -10px;}.h2.pos_right {position: relative;left: 10px;}.top {border-bottom: 2px solid #000000;border-style: solid;border-width: 2px;border-radius: 10px;padding:10px;}.tab1 {border-bottom: 2px solid #000000;border-style: solid;border-width: 2px;height: 171px;border-radius: 10px;border-color:#003a63;}.head {background-color:#0082c8;width: 70%;color: ffffff;text-align: center;line-height: 30px;border-style: solid;border-width: 2px;border-radius: 10px;border-color: #003a63;}.datagrid table { border-collapse: collapse; text-align: left; width: 100%; }.datagrid {font: normal 12px/150% Arial, Helvetica, sans-serif; background: #fff; overflow: hidden; border: 1px solid #003a63; -webkit-border-radius: 10px;-moz-border-radius: 10px; border-radius: 10px; }.datagrid table td, .datagrid table th { padding: 3px 10px; }.datagrid table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #0082C8), color-stop(1, #009ddc) );background:-moz-linear-gradient( center top, #0082C8 5%, #009ddc 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=''#0082C8'', endColorstr=''#009ddc'');background-color:#0082C8; color:#FFFFFF; font-size: 15px;font-weight: bold; border-left: 1px solid #0070A8;}.datagrid table thead th:first-child { border: none; }.datagrid table tbody td { color: #00496B; font-size: 12px;font-weight: normal;border-left: solid 1px #003a63;}.datagrid table tbody .alt td { background: #E1EEF4; color: #00496B; }.datagrid table tbody td:first-child { border-left: solid 1px #003a63; border-right: solid 1px #003a63; }.datagrid table tbody tr:last-child td { border-bottom: none; }.datagrid table tfoot td div { border-top: 1px solid #006699;background: #E1EEF4;}.datagrid table tfoot td { padding: 0; font-size: 12px }.datagrid table tfoot td div{ padding: 2px; }.datagrid table tfoot td ul {margin: 0; padding:0; list-style: none; text-align: right; }.datagrid table tfoot li {display: inline; }.datagrid table tfoot li a {text-decoration: none; display: inline-block; padding: 2px 8px; margin: 1px;color: #FFFFFF;border: 1px solid #006699;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );background:-moz-linear-gradient( center top, #006699 5%, #00557F 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=''#006699'', endColorstr=''#00557F'');background-color:#006699; }.datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover { text-decoration: none;border-color: #006699; color: #FFFFFF; background: none; background-color:#00557F;}div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }</style></head><body> <div> <img src="http://tickettracker.ctrack.co.za:8084/images/IssueTrackerDPS.png" border="0" class="responsive-image" alt="Null"> <div class="h2" align="right"> <h2> 24h Support: +27 (79) 874 0113<br>E-mail: <a href="mailto:ctrack_support@digicore.co.za" target="_blank" class="white">ctrack_support@digicore.co.za</a><br>Office: 27 (12) 450 2222 <br>Mobile: 27 (82) 410 3240 </h2> </div> </div><div style="margin-top:-53px;"><div class="datagrid"><table> <thead style="text-align:;"> <tr> <td colspan="4" style="text-align:center;background-color:#003a63; color:ffffff;font-size:18px; "> Ticket Notification </td> </tr> <tr> <td colspan="4" style="padding:10px;"> <p style="padding-left:10px;color:#0082c8;"><strong>Dear Distributor and Support Team</strong></p> <p style="text-align:justify;padding-left:10px;margin-right:18px;line-height:15px;color:#003a63;">Please note that all tickets fixed in the latest release of Ctrack Maxx & Ctrack Online will be marked as "To Be Closed", to allow all affected parties time to verify that tickets has been resolved as expected.</br><br> Should you still experience problems regarding these ticket, update IssueTracker with further detailed explanations of the persisting problems.<br><br> If no update is logged within 3 weeks, it will be assumed that the Ticket was successfully resolved and be automatically closed by the system.<br><br></p> </td> </tr> </thead> <thead> <tr> <th style="text-align:center;width:40%">Tickets - TO BE CLOSED</th> <th style="text-align:center;width:20%">Project</th> <th style="text-align:center;width:20%">Last Updated</th> <th style="text-align:center;width:20%">Auto Close</th> </tr> </thead> <tfoot> <tr> <td colspan="4"> </tr> </tfoot>'set @MailBody2 ='<tbody>'+ CAST ( ( SELECT td = [issueTitle], '', td = [ProjectName], '', td = [LastUpdated], '', td = [CloseDate], '' FROM @TempTBL WHERE IssueId in (SELECT IssueId FROM @TempTBL WHERE ReportedBy = @MailTo) AND ReportedBy = @MailTo ORDER BY IssueId FOR XML PATH('tr'), TYPE) AS NVARCHAR(MAX) ) +'</tbody></table></div></div>'SET @MailBodyFinal = @MailBody1 + @MailBody2EXEC msdb.dbo.sp_send_dbmail @profile_name = 'IssueTracker Mail', @recipients = 'Annalin@Ctrack.co.za',--@MailTo, @subject = @MailTo,--@MailSubject, @body = @MailBodyFinal, @body_format = 'HTML'FETCH NEXT FROM C4 INTO @MailToENDCLOSE C4DEALLOCATE C4
  6. I seem to have found the solution to my problem, the asp content was in a <pre> tag, width attribute is not supported, here is the code I used to fix it. Hope this helps someone in future: CSS:pre { white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */ white-space: -pre-wrap; /* Opera */ white-space: -o-pre-wrap; /* Opera */ white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */ word-wrap: break-word; /* IE 5.5+ */}
  7. Here is my full HTML, the part in the red is what I am trying to wrap, however I tried doing it in the asp but does not work....So I need to do this with CSS <%@ Register TagPrefix="it" TagName="IssueTabs" Src="~/Issues/UserControls/IssueTabs.ascx" %><%@ Register TagPrefix="it" TagName="PageTabs" Src="~/UserControls/PageTabs.ascx" %><%@ Register TagPrefix="it" TagName="PickPriority" Src="~/UserControls/PickPriority.ascx" %><%@ Register TagPrefix="it" TagName="PickCategory" Src="~/UserControls/PickCategory.ascx" %><%@ Register TagPrefix="it" TagName="PickSingleUser" Src="~/UserControls/PickSingleUser.ascx" %><%@ Register TagPrefix="it" TagName="PickProject" Src="~/UserControls/PickProject.ascx" %><%@ Register TagPrefix="it" TagName="PickStatus" Src="~/UserControls/PickStatus.ascx" %><%@ Register TagPrefix="it" TagName="PickMilestone" Src="~/UserControls/PickMilestone.ascx" %><%@ Register TagPrefix="it" TagName="DisplayCustomFields" Src="~/UserControls/DisplayCustomFields.ascx" %><%@ Register TagPrefix="it" TagName="AdminTabs" Src="~/Administration/UserControls/AdminTabs.ascx" %><%@ Page Language="c#" smartnavigation="true" validaterequest="false" Inherits="ASPNET.StarterKit.IssueTracker.Issues.IssueDetail" CodeFile="IssueDetail.aspx.cs" %><html><head> <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" /><style type="text/css"><!--a.white:link {color: #ffffff; background: #none; text-decoration: none;font-weight:none;}a.white:active {color: #ffffff; background: #none; text-decoration: none;font-weight:none;}a.white:visited {color: #ffffff; background: #none; text-decoration: none;font-weight:none;}a.white:hover {color: #ffffff; background: #none;text-decoration: none;font-weight:none;}--></style> <link href="../Styles/Styles.css" rel="stylesheet" type="text/css" /></head><body><div> <img runat="server" src="~/Images/blank_banner.png" border="0" class="responsive-image" alt="Null"/> <div class="h2" align="right"> <h2> 24h Support: +27 (79) 874 0113<br>E-mail: <a href="mailto:ctrack_support@digicore.co.za" target="_blank" class="white">ctrack_support@digicore.co.za</a> </h2> </div></div><div id="wrapper2"><div class="h6" align="right"><h6><logoff><asp:HyperLink id="lnkLogOff" Visible="True" Text="Log Off {0}" NavigateUrl="~/LogOff.aspx" Runat="Server" /></logoff></h6></div><div style="margin-top:-74px;"><div class="tabInactiverep"><it:PageTabs id="ctlPageTabs" Runat="Server" /></div></div></div><form runat="server" style="width:95%" ><div style="width:95%"> <table class="contentTableShort"> <tr> <td class="contentCell3"> <table cellpadding="10" width="800" class="newissue"> <tr> <td colspan="2"> <asp:Label id="lblError" ForeColor="red" EnableViewState="false" Runat="Server" /> </td> </tr> <tr> <td><h1>New Issue <asp:Label id="lblIssueId" Runat="Server" /></h1> </td> <td align="right"> <asp:button id="btnSave" runat="server" width="90px" CssClass="standardText" Text="Save" onclick="btnSaveClick"></asp:button> <asp:button id="btnDone" runat="server" width="90px" CssClass="standardText" Text="Done" onclick="btnDoneClick"></asp:button> <asp:button id="btnCancel" runat="server" width="90" align="center" causesvalidation="False" CssClass="standardText" Text="Cancel" onclick="CancelButtonClick"></asp:button> <asp:button id="btnDelete" runat="server" width="90" Text="Delete" CssClass="standardText" causesvalidation="False" Enabled="false" onclick="DeleteButtonClick"></asp:button> </td> </tr> <tr> </tr> </table> <br> <table cellpadding="5" width="800"> <tr> <td> <b>Description:</b> </td> <td> <asp:TextBox id="txtTitle" Columns="100" Runat="Server" /> <asp:RequiredFieldValidator ControlToValidate="txtTitle" Text="(required)" runat="server" id="RequiredFieldValidator1" /> </td> </tr> <tr> <td> <b>Category:</b> </td> <td> <it:PickCategory id="dropCats" DisplayDefault="true" Required="true" Runat="Server" /> </td> </tr> <tr> <td> <b>Date Created:</b> </td> <td> <asp:Label id="lblDateCreated" Runat="Server" /> </td> </tr> </table> <table cellpadding="5" width="800"> <tr> <td colspan="4"> <hr class="qdhr"> </td> </tr> <tr> <td> <b>Assigned To:</b> </td> <td> <it:PickSingleUser id="dropAssigned" DisplayDefault="true" Required="true" runat="Server" /> </td> <td> <b>Status:</b> </td> <td> <it:PickStatus id="dropStatus" DisplayDefault="true" Required="true" Runat="Server" /> </td> </tr> <tr> <td> <b>Logged By:</b> </td> <td> <it:PickSingleUser id="dropOwned" DisplayDefault="true" Required="true" runat="Server" /> </td> <td> <b>Priority:</b> </td> <td> <it:PickPriority id="dropPriority" DisplayDefault="true" Required="true" Runat="Server" /> </td> </tr> <tr> <td> <b>Created By:</b> </td> <td> <asp:Label id="lblCreator" Runat="Server" /> </td> <td> <b>Milestone:</b> </td> <td> <it:PickMilestone id="dropMilestone" DisplayDefault="true" Required="true" Runat="Server" /> </td> </tr> </table> <it:DisplayCustomFields id="ctlCustomFields" Runat="Server" /> </td> </tr> </table> </div> <br> <div align="left" class="issuedet1"> <it:IssueTabs id="ctlIssueTabs" Visible="false" runat="Server" /> </div> </form></body></html>
  8. Hi, I have a <div> tag within a table with some asp code within. I am trying to get the text to word wrap. If I use overflow x: auto/scroll it gives a scroll bar that I dont want, and hidden: hides the text. I just want the text to wrap to the next line. My CSS: .issuedet1 {display:block;color:#fffffff;background-color:#00678e;margin-top:10px;border-style:none;border-right:2px solid;border-color:#00678e;padding-right: 5px;float: left;width:95%;overflow:auto;} My HTML: <div align="left" class="issuedet1"> <it:IssueTabs id="ctlIssueTabs" Visible="false" runat="Server" /> </div> </form> If anyone can help me with some suggestions I would really appreciate it Thx
  9. Hello, I have the following code: <tr style="color:#ffffff; text-indent:20px; background-color: #003A62; ;margin-right: -600px;"> <th width="55%" align="left">Tickets - <strong>TO BE CLOSED</strong></th> <th width="15%" align="left">Project</th> <th width="15%" align="left">Result</th> <th width="15%" align="left">Inactive</th> </tr> I need the table header color to stretch right through the table without the white at the sides (see image 1) I have tried CSS to do this, but I think it has more to do with the HTML. Please help? Thank you.
  10. Hi, Please excuse me ignorance regarding ASP, I am VERY new to this. I am a web developer normally working with PhP and CSS, I am currently trying to style a page buildt with ASP. There are many references to labels etc in the code, and I cannot seem to get the "html" part that I need to edit (if this makes any sense?) Is there any firefox add-ons or webtools that can help me locate the file that I need to edit to implement my changes? I normally use firebug to check the CSS, but the code that I see there is not in the stylesheet or .aspx file, I think it references to another file. Any suggestions or help would be appreciated. Thank you
  11. If I use something like this in my code, perhaps it will work? Does the position left and right refer to a spesific point on the page? h2.pos_left { position: relative; left: -20px;}h2.pos_right { position: relative; left: 20px;} Thank you
  12. Hi, I have added text in a div over an image which is responsive. however when I test on a bigger screen the text does not display on the far right as I want it to. How can I force the div to always stay in the far right corner? I have the following code: CSS h2 {font-size: 23px;font-weight: normal;height: 50px;left: 0;line-height: 120%;margin: 0 auto;position: absolute;right: -824px;text-align: right;text-decoration: none;top: 120px;width: 392px;text-align: right;} HTML <body style="margin: 0; padding: px"><div class="image b" align="center"> <img src="Images/blank_banner.png" border="0" class="responsive-image" alt="Null"> <div class="text container"> <h2>24h Support: +27 (79) 874 0113<br>E-mail: <a href="mailto:myaddress.co.za" target="_blank" class="white">info@support.co.za</a></h2> </div></div> Any help will be greatly appreciated. Thank you!
  13. Hi, Thank you so much for your response! I have removed the extra form tags.. I have a couple of questions: 1. Does the <input type="text" name="user_email_address"> go into my html file, and the Request.Form("user_email_address") into my seperate .asp file? 2. How do I code the input on the parts of the form, like the calendar and dropdown list, to obtain those values to go into the mail that is automatically sent? e.g. <div class="formstyle"> <label for="state">Exam Level</label> <select id="state" class="pure-input-1-2"> <option>Level 1</option> <option>Level 2</option> <option>Level 3</option> </select> </div> 3. Is the code in my asp file correct, or can I change it to: <%Set myMail=CreateObject("CDO.Message")myMail.Subject="Exam Registration"myMail.From="issuetr@digicore.co.za"myMail.To="issuetr@digicore.co.za"myMail.TextBody="This is a message."myMail.Configuration.Fields.Item _("http://schemas.microsoft.com/cdo/configuration/sendusing")=2'Name or IP of remote SMTP servermyMail.Configuration.Fields.Item _("http://schemas.microsoft.com/cdo/configuration/smtpserver")="smtp.server.com"'Server portmyMail.Configuration.Fields.Item _("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25myMail.Configuration.Fields.UpdatemyMail.SendResponse.Write("Mail Sent!")'Destroy the mail object!set myMail=nothing%> I REALLY appreciate your help!!!
  14. Hi there, I am VERY new to asp and need help please! I have a form with a submit button, but I need the form to automatically submit to a mail address my code: <form class="pure-form pure-form-stacked" method="POST" action="tizagEmail.asp"> <fieldset> <legend><strong>Personal Information</strong></legend><br> <div class="pure-g"> <div class="formstyle"> <label for="first-name">First Name</label> <input id="first-name" type="text"> </div> <div class="formstyle"> <label for="last-name">Last Name</label> <input id="last-name" type="text"> </div> <div class="formstyle"> <label for="email">E-Mail</label> <input id="email" type="email" required> </div> <div class="formstyle"> <label for="state">Exam Level</label> <select id="state" class="pure-input-1-2"> <option>Level 1</option> <option>Level 2</option> <option>Level 3</option> </select> </div> </div> <br><form class="formstyle"><script>DateInput('orderdate', true, 'DD-MON-YYYY')</script></form><br><input type="submit" value="Submit"></form> --------------------------------------------------------------------------------------------------------------------------------------- My asp code: <%'Sends an emailDim mailSet mail = Server.CreateObject("CDO.Message")mail.To = Request.Form("To:annalin@ctrack.co.za")mail.From = Request.Form("From:issuetr@digicore.co.za")mail.Subject = Request.Form("Subject:Exam Registration")mail.TextBody = Request.Form("Body")mail.Send()Response.Write("Mail Sent!")'Destroy the mail object!Set mail = nothing%> Please help me where my mistake is lying that this form wont automatically submit Thank you!
  15. Yah! I just fixed the problem, I made the width:1500px, and that removed the scroll bar, You are a ☆ Thanks a million!!!!
  • Create New...