AspSmartMail....
I am trying to configure AspSmartMail, since that is what my webhost uses as a component on their servers and I haven't used it before. I am a beginner basically when it comes to ASP- and I can't get my code to send more than one form field result to my inbox... Here is the code: .....
View Replies
I am learning to use aspSmartMail and relatively new to ASP programming.
The following code emails information to me from a form. I would also like to send an email to the reader who filled out the form (that code follows the initial coding). Is it possible to put these together, or must I call the second code from the first? I am not sure how to do this. Code:
View Replies
View Related
I try to send mail with aspsmartmail but I always got the same error code :
aspSmartMail.SendMail : Error 28: 0x8004001A
My code is :
View Replies
View Related
I have installed on my web server the aspsmartmail component v.2.7.
All work fine, but I have only on problem...
Can I specify the mail server port with the "ServerPort" property?
On the web I read:
....
Set objSmartMail = Server.CreateObject("aspSmartMail.SmartMail")
objSmartMail.Server = "myserver.mail.com"
objSmartMail.ServerPort = 21
...
The last line return a "Object doesn't support this property"
How can I specify a specific port with this object?
View Replies
View Related
Let me start by saying I'm fairly new to Asp coding. That said...
My ISP only uses AspSmartMail. I've created an online form that uses fill out, which is then e-mailed to the collector of the information and CC-ed to the person who submitted the information.
The error I'm receiving is this:
aspSmartMail.SendMail : Error 28 error '8004001a'
504 Invalid Username or Password
In my script, I've Dimensioned several items, as you'll see below, passing the authenticating username/password to the smtp server, but it's not working. I tried not passing the information by entering in the actual info without it being passed by the diminsioned items. This didn't work either. I of course verified that the username/password I'm usine is correct.
Can someone plase tell me why I can't authenicate? I would really appreciate any help that might be out there.
Relavant Asp code below:
-----------------------------------------
Dim smtpserver,youremail,yourpassword,yourusername,rem oteemail
'Edit these 3 values accordingly
smtpserver = "mail.smtp_server.org"
youremail = "yourname@smtp_server.org"
yourpassword = "password"
yourusername = "yourusername"
remoteemail = "email_address_to_send_to"
Dim ObjSendMail
Set ObjSendMail = Server.CreateObject("AspSmartMail.SmartMail")
'Config remote SMTP server info.
ObjSendMail.Server = smtpserver
ObjSendMail.ServerTimeOut = 35
ObjSendMail.SenderAddress = youremail
ObjSendMail.Password = yourpassword
ObjSendMail.Username = yourusername
'End remote SMTP server config.
'Config E-mail.
ObjSendMail.Recipients.Add remoteemail
ObjSendMail.CCs.Add Request.Form("Confirm_Email")
ObjSendMail.Subject = "Email Subject"
ObjSendMail.SenderAddress = "Confirmation-NoReply@smtp_server.org"
ObjSendMail.SenderName = "SenderName"
ObjSendMail.ContentType = "text/html"
ObjSendMail.Body = strBody
'Note - strBody is Dimensioned elsewhere in my script to build the HTML message body.
'End Config E-mail.
'ObjSendMail.Send
ObjSendMail.SendMail
if err.number <> 0 then
response.write("Error n° " & err.number - vbobjecterror & " = " & err.description & "<br>")
else
Response.Write "aspSmartMail has sent your message with this file as attachment : <br>"
'Response.Write ObjSendMail.Attachments.Item(1).FilePathName
end if
Set ObjSendMail = Nothing
---------------------------------------
End code
View Replies
View Related
I use aspSmartMail without any problem, but when trying to send a html message to my list of subscribers, I got the following error for all of them excepted for my own adress email (and my message appears correctly in html format)
aspSmartMail.SendMail : Error 40 error '80040028'
Error when check Recipient address : 550 not local host aol.com, not a gateway ...
View Replies
View Related