Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to send an email in MS Excel without OE or Outlook

Status
Not open for further replies.

duongtm

Programmer
Joined
Aug 18, 2002
Messages
1
Location
VN
Hi everybody,

Can anyone please help me to show the VBA code for the mentioned procedure. The code may run like below, I think:

mailSubject="something"
mailTo="something"
mailBody=="something"
SMTPServer="something"
SendEmail (mailTo, mailSubject,mailBody,SMTPServer)
...
and should return error code to assure that the mail is sent successful. SMTPServer is the most important, how can I specify it in the SendEmail procedure?

Thanks so much for your advise,

Best regards,

-DuongTM-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top