Send Email
-
Hi, My question is this .. I am creating an email sender using asp.net 1.1. Now I am using an smtp called smtp.mail.yahoo.com. This is the code i am using:
objEmail.SmtpServer = "smtp.mail.yahoo.com"
Now, when I am sending the email, an error message occurs telling me "CTO.message object error" Why is this please?? Thanks alot.Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
-
Hi, My question is this .. I am creating an email sender using asp.net 1.1. Now I am using an smtp called smtp.mail.yahoo.com. This is the code i am using:
objEmail.SmtpServer = "smtp.mail.yahoo.com"
Now, when I am sending the email, an error message occurs telling me "CTO.message object error" Why is this please?? Thanks alot.Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
If i am not wrong this is not your SMTP server. This is yahoo server. So you need to use your server. Amit
-
If i am not wrong this is not your SMTP server. This is yahoo server. So you need to use your server. Amit
Yes, its not my smtp but my smtp is of godaddy and it isn't working the same. :( i don't know what to do. I made another code just like this but the emails sent but nothing was really sent.
objEmail.SmtpServer.Insert(0, "smtpout.secureserver.net")
This code is not good I think. Can someone help please. Thanks alot Regards, Adrian www.maltatrade.orgAdrian De Battista: .Net Programmer, Java Programmer and Web Designer.
-
Yes, its not my smtp but my smtp is of godaddy and it isn't working the same. :( i don't know what to do. I made another code just like this but the emails sent but nothing was really sent.
objEmail.SmtpServer.Insert(0, "smtpout.secureserver.net")
This code is not good I think. Can someone help please. Thanks alot Regards, Adrian www.maltatrade.orgAdrian De Battista: .Net Programmer, Java Programmer and Web Designer.
The problem is that most public servers flat out won't let you do this, otherwise they'd be deluged with spam - so relaying is generally blocked. You need (as a previous poster told you) to use your OWN smtp server, or a public one that allows relaying (good luck!)....as a hint, SQL Server has one ;)
"Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox
-
The problem is that most public servers flat out won't let you do this, otherwise they'd be deluged with spam - so relaying is generally blocked. You need (as a previous poster told you) to use your OWN smtp server, or a public one that allows relaying (good luck!)....as a hint, SQL Server has one ;)
"Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox
-
WHAT IS MY SMTP SERVER AND HOW CAN I KNOW MY SMTP PLEASE?? I AM USING AN MS ACCESS NOT SQL :( .. THANKS FOR YOUR HELP!!
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
Please don't shout....
ADY007 wrote:
WHAT IS MY SMTP SERVER AND HOW CAN I KNOW MY SMTP PLEASE
Which bit don't you understand? Your SMTP server is an SMTP server that you control (:doh:). If you're not using SQL server, IIS also has one built in. If you still can't find one, try talking to your company's admins - most will let developers use it if they behave themselves, and failing that, you'll just have to look for one of your own to download....plenty of them kicking around - try Google.
"Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox