: I need a sub procedure to send email like : : Sub MySendEmail(Emailadd as string,subject as string) as boolean : : who can help me ??? :
It's not very hard. It gets tricky if you want to send attachments, but just text is pretty easy. First, you have to connect to a mail server that'll relay your message (I think something like yahoo.com should work.. ?) on port 25. (You'll want to use the Microsoft Winsock Control if you haven't already figured that out.) After that you just talk to the server and tell it who you're sending it to, who it's from, your text, ect. and they will relay it across the net until it reaches the recipient. http://email.about.com/cs/standards/a/smtp.htm is a good site that'll explain how SMTP works.
: : I need a sub procedure to send email like : : : : Sub MySendEmail(Emailadd as string,subject as string) as boolean : : : : who can help me ??? : : : : It's not very hard. It gets tricky if you want to send attachments, but just text is pretty easy. First, you have to connect to a mail server that'll relay your message (I think something like yahoo.com should work.. ?) on port 25. (You'll want to use the Microsoft Winsock Control if you haven't already figured that out.) After that you just talk to the server and tell it who you're sending it to, who it's from, your text, ect. and they will relay it across the net until it reaches the recipient. http://email.about.com/cs/standards/a/smtp.htm is a good site that'll explain how SMTP works. : You can also find some help at http://support.microsoft.com/default.aspx?scid=KB;en-us;q161833
Comments
:
: Sub MySendEmail(Emailadd as string,subject as string) as boolean
:
: who can help me ???
:
It's not very hard. It gets tricky if you want to send attachments, but just text is pretty easy. First, you have to connect to a mail server that'll relay your message (I think something like yahoo.com should work.. ?) on port 25. (You'll want to use the Microsoft Winsock Control if you haven't already figured that out.) After that you just talk to the server and tell it who you're sending it to, who it's from, your text, ect. and they will relay it across the net until it reaches the recipient. http://email.about.com/cs/standards/a/smtp.htm is a good site that'll explain how SMTP works.
: :
: : Sub MySendEmail(Emailadd as string,subject as string) as boolean
: :
: : who can help me ???
: :
:
: It's not very hard. It gets tricky if you want to send attachments, but just text is pretty easy. First, you have to connect to a mail server that'll relay your message (I think something like yahoo.com should work.. ?) on port 25. (You'll want to use the Microsoft Winsock Control if you haven't already figured that out.) After that you just talk to the server and tell it who you're sending it to, who it's from, your text, ect. and they will relay it across the net until it reaches the recipient. http://email.about.com/cs/standards/a/smtp.htm is a good site that'll explain how SMTP works.
:
You can also find some help at
http://support.microsoft.com/default.aspx?scid=KB;en-us;q161833