ASP Mail component

Why I can’t send email with ASPMAIL component? I’ve used simple code sample from ASPMail site but i doesn’t work.

Any answer?

Thanks

[QUOTE=grafxdesigns]
Why I can’t send email with ASPMAIL component? I’ve used simple code sample from ASPMail site but i doesn’t work.

Any answer?

Thanks
[/QUOTE]

Well…since you didn’t tell us the code you are using…how are we to help? :slight_smile:

[QUOTE=grafxdesigns]
Why I can’t send email with ASPMAIL component? I’ve used simple code sample from ASPMail site but i doesn’t work.

Any answer?

Thanks
[/QUOTE]

Could you point me to the page your script is located at? ASPMail as well as CDONTS are working fine

[QUOTE=Yash]
Could you point me to the page your script is located at? ASPMail as well as CDONTS are working fine
[/QUOTE]

Try this code

Set Mailer = Server.CreateObject(“SMTPsvg.Mailer”)
Mailer.FromName = “Joe?s Widgets Corp.”
Mailer.FromAddress= “[email protected]
Mailer.RemoteHost = “mailhost.localisp.net
Mailer.AddRecipient “John Smith”, “[email protected]
Mailer.Subject = “Great SMTP Product!”
Mailer.BodyText = “Dear Stephen” & VbCrLf & “Your widgets order has been processed!”
if Mailer.SendMail then
Response.Write “Mail sent…”
else
Response.Write "Mail send failure. Error was " & Mailer.Response
end if

From ASPMail site

Thanks

[QUOTE=yorri]
Well…since you didn’t tell us the code you are using…how are we to help? :slight_smile:
[/QUOTE]

I used ASPMail sample code from their site. Please refer above. Thanks

[QUOTE=grafxdesigns]
I used ASPMail sample code from their site. Please refer above. Thanks
[/QUOTE]

I guess you should set the RemoteHost to your mail server (mail.yourdomain.com) and From - to a valid mail account, for example postmaster @ yourdomain.com

(where “yourdomain” of course your domain :slight_smile: )

[QUOTE=StPatrick]
I guess you should set the RemoteHost to your mail server (mail.yourdomain.com) and From - to a valid mail account, for example postmaster @ yourdomain.com

(where “yourdomain” of course your domain :slight_smile: )
[/QUOTE]

Yes, I’ve replaced all of that.

[QUOTE=Yash]
Could you point me to the page your script is located at? ASPMail as well as CDONTS are working fine
[/QUOTE]

Any updates?

[QUOTE=grafxdesigns]
Any updates?
[/QUOTE]

Hi

If you remember I PMed you asking your full domain (not domain alias) so that we can look into. I also asked for your username

[QUOTE=Yash]
Hi

If you remember I PMed you asking your full domain (not domain alias) so that we can look into. I also asked for your username
[/QUOTE]

I replied in your PM.

Thanks

Hi

I recommend you wait till saturday. Our datacenter shift should be completed by then and if there were any problems in the windows server you are hosted on, it will be corrected. If the problem continues to exist after that, we’ll look into it again. We can’t make any changes to the servers now as a sync is taking place.

Any update?

Any update about my problem?

Thanks

Your site now resides on the new servers. Is is still not working? If not, I recommend you open a ticket with us detailing your problem. You’d get a fast resolution through the ticket system.

It seems to be working in my [email protected] email but not in my [email protected]. Any idea?

Thanks

Could you elaborate?

I had run this script on your website and it worked perfectly:

serverobjectsmail.asp <% ' ASPMail(tm) from www.serverobjects.com ' is not part of ASP per se, ' but a third party utility from serverobjects.com Set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.RemoteHost = "mail.grafxdesigns.net" Mailer.qmessage=true Mailer.FromName = "Your Name" Mailer.FromAddress = "[email protected]" Mailer.AddRecipient "Yash","[email protected]" Mailer.Subject = "ASPMail Tutorial"

Mailer.BodyText = “Hi. Just trying the mail example” & vbCrLf
Mailer.BodyText = “Line 2”
Mailer.BodyText = “Line 3”
If Mailer.SendMail then
Msg = “mail sent sucessfully!”
Else
Msg = “mail not sent sucessfully”
msg = msg & “
” & mailer.response
End If
response.write Msg

set mailer=nothing
%>