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-
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-