INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Email adapter - trying to use text file contents as body of email

Email adapter - trying to use text file contents as body of email

(OP)
I have a query in my mdq that I run in a map rule, generating a text file as output. What I am tying to do next is in a subsequent map, read in that text file and send the contents as the body of an email. It seems no matter what I do, I can't get it to work. I can successfully generate an email with the name of the text file and the network directory location of the text file, but when I try to put the actual contents of the text file into the email body, I get nothing. I am reading in the file as a blob, if that makes any difference. I know this is probably elementary, and if I can generate and send an email with the name of the file and its directory location, I should be able to send the contents. If anybody has any ideas, I'd appreciate hearing them.

RE: Email adapter - trying to use text file contents as body of email

are you using package() or seriestotext() in your email cmd?  Sometimes seriestotext works where package doesn't.
 

RE: Email adapter - trying to use text file contents as body of email

(OP)
Thanks, eyetry. I will try the seriestotext as soon as I have a chance. I have my fingers crossed! Thanks for the tip!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close