JDYoder
10-08-2001, 08:43 AM
Don't know how many use JMail, but I'm trying it, and found it to work really slick. However, I'd like to use it to email from my hotmail account. The code I'm using is as follows, with the ServerAddress as the only thing I'm guessing at. Anyone know what it should be? Or if it's even possible to use JMail via Hotmail? (FYI, it hangs on the "execute" portion).
Dim q As jmail.SMTPMail
Set q = New jmail.SMTPMail
q.AddRecipient "jyoder7@hotmail.com"
q.ServerAddress = "www.hotmail.com"
q.Sender = "jyoder7@hotmail.com"
q.Subject = "JMail"
q.Body = "Think this'll work?"
q.Execute
could it possibly be "mail.hotmail.com"...I have never used jmail so I am not even close to positive :)...
regards
jcd
ChiefRedBull
10-08-2001, 11:40 AM
Read my tutor in the tutor corner - it explains how to send a mail via the hotmail SMTP server.
I dont know about Jmail but the tutor should give you some hints.
Chief
"How are we to learn, if those that know will not teach... ?" - Me.
JDYoder
10-08-2001, 05:56 PM
Thanks jcd! It was indeed "mail.hotmail.com" -- however, to everyone, including ChiefRedBull -- what is SMTP? JMail apparently uses it? So then what's JMail? Just a wrapper that makes using SMTP easier? Or does it do something SMTP can't?
Thinker
10-08-2001, 08:09 PM
SMTP is Simple Mail Transport Protocol. It is just another TCP/IP protocol
like HTTP, FTP, and NNTP. (Where TP always stands for Transport Protocol,
notice a trend?)
I think therefore I am... sometimes right. images/icons/wink.gif
ChiefRedBull
10-09-2001, 02:52 AM
I would guess from your original post that JMail is indeed just a wrapper around the SMTP to make it simpler. It looks liek your're specifyinh all the same things -to, from, subject, body etc...
Does it allow you to send attachments?
Chief
"How are we to learn, if those that know will not teach... ?" - Me.