SNDDST command to send document to email address

0 pts.
Tags:
Microsoft Exchange
I am using the SNDDST command to send a document to an outside e-mail address. I also send a message (the MSG parameter). The e-mail is delivered along with the document, but the message does not go along with it. It is supposed to be in the body of the e-mail. I have seen this work on other systems, but can't get it work on this one system. Any ideas? Thanks, David
ASKED: June 14, 2006  12:48 PM
UPDATED: June 20, 2013  5:51 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Correct use of snddst:
SNDDST TYPE(*LMSG) DSTD(ETN)TOINTNET(‘name@domain.com’) SUBJECT(‘subject line’) LONGMSG(‘body of message’)
The ETN is random – put anything there.
Instead of using longmsg(), you can use msg() and then you can attach one file by specifying it as docfile() or folder() (if it’s on the ifs).
If you want to send multiple attachments, you have to use QtmmSendMail API or a 3rd party product (there’s some good ones).

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following