Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: mSendMail mSendMailex Exchange
Error1=mSendMailEx("[SMTP:galaara]","Subject,"Body","File","")this one tries to tack the rest of my email domain to the addresss and send it.. IE galaara@aaa.com
Error1=mSendMailEx("galaara","Subject,"Body","File","")this one errors, bad formated email address
Error1=mSendMailEx("[EXCHANGE:galaara]","Subject,"Body","File","")Email fails, unknown transport
Error1=mSendMailEx("[MSEMS:galaara]","Subject,"Body","File","")Email fails, unknown transport
Does anyone know how to do this???
A search at http:/groups.google.com suggested that the following is a valid format for Exchange:
EX:/o=SHELL/ou=MSXSEPC/cn=Recipients/cn=RL185153 EX - is for MS Exchange. There are other types as well cn - Basic Email name, i.e. BobBolin
and
Maybe try something like:
recip_email="[EX:/O=UPDATE/OU=UPDATE_A/CN=RECIPIENTS/CN=galaara]"; change to fit your needs Error1=mSendMailEx(recip_email,"Subject,"Body","File","")
Have you considered using the Postie Extender instead?
:sendemailtoadmin ; add the postie extender... addextender("WWPST32I.DLL") ; smtp host to login to... host="Exchange Server" ; <--- change to your mailserver ; fake from address... fromaddr="Fake Address" userid="" ; <--- User ID and password password="" ; <--- ; port to login to... port="" ; email to... tolist="Display Name here" ; <--- display name here cclist="" bcclist="" ; email subject... subject="Test Subject" ; email text... msg="Testing 123" attachments="" flags="" kInit(host,fromaddr,userid,password,port) kDest(tolist,cclist,bcclist) kSendText(subject,msg,attachments,flags) return
Article ID: W15409
File Created: 2003:05:13:11:27:30
Last Updated: 2003:05:13:11:27:30