MarkeyHost
Perch
Can we get ASPEMAIL installed from Persits? It is a free COM object for sending email via ASP scripts. I noticed it is not installed or is Jmail.
Thank you for your time.
Markey
Thank you for your time.
Markey
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
MarkeyHost said:ASPMail is another good one but many scripts support ASPEMAIL because it is free and allows for more features than CDONTS and I just hater having Microsoft viewing all sent emails so I won't use CDOSYS...
Thank you.
MarkeyHost said:Can we get ASPEMAIL installed from Persits? It is a free COM object for sending email via ASP scripts. I noticed it is not installed or is Jmail.
Thank you for your time.
Markey
<%
' change to address of your own SMTP server
strHost = "mail.my-win-host.com"
If Request("Send") <> "" Then
Set Mail = Server.CreateObject("Persits.MailSender")
' enter valid SMTP host
Mail.Host = strHost
Mail.From = Request("From") ' From address
Mail.FromName = Request("FromName") ' optional
Mail.AddAddress Request("To")
' message subject
Mail.Subject = Request("Subject")
' message body
Mail.Body = Request("Body")
strErr = ""
bSuccess = False
On Error Resume Next ' catch errors
Mail.Send ' send message
If Err <> 0 Then ' error occurred
strErr = Err.Description
else
bSuccess = True
End If
End If
%>
<HTML>
<BODY BGCOLOR="#FFFFFF">
<% If strErr <> "" Then %>
<h3>Error occurred: <% = strErr %>
<% End If %>
<% If bSuccess Then %>
Success! Message sent to <% = Request("To") %>.
<% End If %>
<FORM METHOD="POST" ACTION="Simple.asp">
<TABLE CELLSPACING=0 CELLPADDING=2 BGCOLOR="#E0E0E0">
<TR>
<TD>From (enter sender's address):</TD>
<TD><INPUT TYPE="TEXT" NAME="From"></TD>
</TR>
<TR>
<TD>FromName (optional, enter sender's name):</TD>
<TD><INPUT TYPE="TEXT" NAME="FromName"></TD>
</TR>
<TR>
<TD>To: (enter one recipient's address):</TD>
<TD><INPUT TYPE="TEXT" NAME="To"></TD>
</TR>
<TR>
<TD>Subject:</TD>
<TD><INPUT TYPE="TEXT" NAME="Subject"></TD>
</TR>
<TR>
<TD>Body:</TD>
<TD><TEXTAREA NAME="Body"></TEXTAREA></TD>
</TR>
<TR>
<TD COLSPAN=2><INPUT TYPE="SUBMIT" NAME="Send" VALUE="Send Message">
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
MrDoJo,MrDoJo said:Hi,
I try to use this code
When I use mail host on windows server (Jodohost).. it not work BUT it work when i change it to other mail servers that are not on windows.. eg my other domain on linux server (Not Jodohost)
Any ideas??
In another thread, JH has indicated that there is an intermittent problem with mail components (specifically jmail) authenticating with the mail server if you use mail.mydomain.com as your SMTP server. The workaround is to use jmail's authentication features to have the jmail authenticate with the server as you using your account prior to trying to send mail. This seems to eliminate the intermittent problem. It would seem logical to think this is not component dependant and that a similar solution should be used when using ASPEmail or ASPMail.tonto said:I am writing this beacause I have had a LOT of trouble with the ServerObjects AspMail component installed on win6. It does not work consistently. Sometimes it works and sometimes it doesn't. I have left trouble tickets regarding this problem but have not received a valid OR timely response. So much for the 60 minute support. I left a trouble ticket about 10 hours ago and still no response.
Correction: Both are workarounds. Fixes is when you find the root cause and permanently resolve the problem.Yash said:Please use localhost or SMTP with authentication for mail.yourdomain.com. Both are fixes.
Semantics, I know, but... They may be better solutions, but they are not fixes to the problem, only work arounds. Check your ITIL definitions.Yash said:Logan, very few hosts allow relay between our mail and web servers. A proper solution would be to use localhost or SMTP authentication. Both are fixes to this issue and we will be working to get open relay to work properly