.NET email

  • Thread starter Thread starter S Shulman
  • Start date Start date
S

S Shulman

Hi All

I don't have smtp server and my email is hotmail and I am looking for smtp
server so I will be able to send emails using .NET.
Is there any server out there that I can use?

Thank you in advance,
Shmuel
 
S Shmuel,

I am not sure of this, however is this not a kind of hacking?

Cor
 
Isn't that what spammers are looking for?

And preferably a server in a land without any kind of legislation about the
internet ...
 
My question is really quite simple. Is there a way of sending email using
..NET email functionality without having SMTP server installed on th client's
machine I think this is quite simple.
 
Shmuel

You can try this sample bellow if it fits your problem

I hope this helps?

Cor

\\\by Fergus Cooney & small correction Cor
'A reference to System.Web may be necessary
'in the Project for this Import to work.
Imports System.Web.HttpUtility
Public Sub StartDefaultMail (sTo As String, _
Optional sSubject As String = "", _
Optional sMessage As String = "")
Try
sTo = UrlEncode (sTo)
sSubject = sSubject
sMessage = sMessage
Process.Start ("mailto:" & sTo & "?subject=" _
& sSubject & "&body=" & sMessage)
Catch e As Exception
MsgBox ("Couldn't start default email application" _
& vbCrLf & e.Message)
'or
Throw New Exception ("Couldn't start default email app", e)
End Try
End Sub
///

"S Shulman"
 
Thanks Cor

I need to send an attachment with the email and as far as I know you can't
add atachment to mailto: function

Cheers,
Shmuel
 
Shmuel

Have a look at the links Ken provided, there are as far as I know not much
alternatives on that.

Cor
 
Isn't that what spammers are looking for?

Yea, but there are legitimate reasons for wanting it too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top