Är det någon som veta hur man gör för att installera ASPMail? Installera... Jag har följt anvisningar på "15seconds.com" men det fungerar inte Saxat ur Installera ASPMail
Även hur man kollar att/om installationen lyckades?
Jag har varit på serverobjects.com och kollat deras dekumentation men fattar inte riktigt hur man ska göra.
Sv: Installera ASPMail
http://www.15seconds.com/Component/pg000809.htm
Test...
http://www.hostmysite.com/support/programming/aspmail/
/JesperSv:Installera ASPMail
när jag ska testa följande kod:
<%
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "website"
Mailer.FromAddress= "user@yourdomain.com"
Mailer.RemoteHost = "mail.yourdomain.com"
Mailer.AddRecipient "Name", "name@yourdomain.com"
Mailer.AddExtraHeader "X-MimeOLE:Produced yourdomain.com"
Mailer.Subject = "Form Submission"
Mailer.BodyText = "Enter the body of the message here."
if Mailer.SendMail then
Response.Write "Form information submitted..."
else
Response.Write "Mail send failure. Error was " & Mailer.Response
end if
set Mailer = Nothing
%>
1. Jag jobbar i Visual Studio och den känner inte igen "Mailer".
Vet du varför?
2. Måste jag i stället för "yourdomain" skriva "localhost" för att det ska funka?
3. Måste jag ha en separat fil för scripten?Sv: Installera ASPMail
http://www.webthang.co.uk/tuts/tuts_dmx/aspMail/aspmail_5.asp
Before we get started you need to find out a few things first.
Does your server support ASPmail? ASPmail is a common third party mailer that allows you to send mail using the standard SMTP mail protocol. My ISP supports both ASPmail and Jmail. ASPmail uses VBScript programming language to send mail and Jmail uses the Javascript programming language.
Does your ISP support SMTP mail protocol? Basically SMTP is a mail server. SMTP stands for Simple Mail Transfer Protocol and is the standard method used for host to host transfer of messages over the internet. If your ISP doesn't use this method for sending and receiving mail then you can't use ASPmail and it's time for you to find a new ISP.
If your ISP does support SMTP then you need to already know the SMTP Server address. It would be something like mail.yourdoman.com check with your ISP to find out.
/Jesper