Author |
Message
|
Devasis.Sahu |
Posted: Mon Apr 04, 2005 11:32 pm Post subject: Mailing List and Attachment |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
Hi Experts,
I have this requirement wherein i need to send notification thru e-mail to a mailing list and with attachments. The message format is XML. Can anybody let me know how we can do this ? I am using SendmailPlugin node for doing the same.
I am able to send normal mails to multiple recipients thru XML ..see below:
<Message>
<From>devasahu@xx.com</From>
<To>devasahu@bb.com</To>
<To>devasis_sahu@cc.com</To>
<Cc>devasis.sahu@dd.com</Cc>
<Subject>An e-mail from SendMail Pluging</Subject>
<Body>
D:\attachment.txt
</Body>
EncodingBase64 ContentType="text/plain" Name="attachment.txt"/>
</Message>
I am successful in sending those but without attachment.
What I need to know is :
1. How to create a mailing list if i am using a function in a compute node ( some sample code would surely help).
2. How to send attachments and is there any speical setting which needs to be done in the Sendmail plugin node for the same.
Regds |
|
Back to top |
|
 |
JT |
Posted: Tue Apr 05, 2005 7:33 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Have you performed a search on this topic? I seem to recall seeing some posts surrounding the Sendmail plug-in and how to send attachments. |
|
Back to top |
|
 |
Devasis.Sahu |
Posted: Tue Apr 05, 2005 5:48 pm Post subject: hi |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
hi
I have done a search on this topic in the forum but unfortunately none of them explain in detail how to send attachment and make a mailing list.
I was able to send attachment , but the contents of the attachment were kind of "absent".
Regds |
|
Back to top |
|
 |
RocknRambo |
Posted: Tue Apr 05, 2005 6:06 pm Post subject: |
|
|
Partisan
Joined: 24 Sep 2003 Posts: 355
|
You can attachments and EMail to Mulitple Users...through WBIA for EMail.
(WBI Adapter for Email)
-RR |
|
Back to top |
|
 |
Devasis.Sahu |
Posted: Wed Apr 06, 2005 1:41 am Post subject: hi |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
Hi,
Can we do it in some way using the Sendmailplugin node and maintain a list and access the same from the compute node....to send out mails to multiple recipients. Please suggest. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 06, 2005 1:55 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you put your "list" in a database table, and then Select it, and use the results to populate your To tags, then yes. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
waugh |
Posted: Wed Apr 06, 2005 9:37 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 225
|
another option:
consult your mail admin.
You can create a group on your mail server, which will have a set of email addresses attached to it. and send mail to that group address. ex:hr@mycompany.com, in turn mail server will propagate your email to everybody in that group. |
|
Back to top |
|
 |
Devasis.Sahu |
Posted: Wed Apr 06, 2005 6:01 pm Post subject: Hi |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
EXECELLENT IDEA...THIS WILL, FOR SURE WORK A 101% . Thanx for the wonderful idea......
Can you also throw some light on how to enable sending of attachment in mail. I have not got any leads to this issue as of now .
regds |
|
Back to top |
|
 |
brgmo |
Posted: Thu Apr 07, 2005 5:05 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Devasis,can you help me as how did you configure your wbi foe sendmail plugin.i also want to use sendmail plugin supportpac but i couldn't get any reply.any help will highly appreciated.
brgmo. |
|
Back to top |
|
 |
Devasis.Sahu |
Posted: Thu Apr 07, 2005 6:01 am Post subject: Yes Sure |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
|
Back to top |
|
 |
waugh |
Posted: Thu Apr 07, 2005 6:09 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 225
|
Davasis,
Take a lookat ia07.pdf that comes with supportpac. at the bottom they explained how you can do attachments. I didn't understand how exactly you do encoding etc., But, i am sure you will figure it out with a little bit of research on WEB.
good luck |
|
Back to top |
|
 |
brgmo |
Posted: Thu Apr 07, 2005 9:42 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
i used this one earlier but once i copy the lil files from both the places debug as well as the nt root and restart the broker i don't see the sendmailplugin node in the navigator.can you tell me what is going wrong.
brgmo. |
|
Back to top |
|
 |
Devasis.Sahu |
Posted: Thu Apr 07, 2005 6:10 pm Post subject: Solution |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
Hi,
Do let me know the following things:
1. Version of your WBIMB with CSD.
2. Which version of code you are copying in the respective folders ..there are 2 versions in the SupportPAc..one is 5.0 and other 5.1.
3. Are you copying the Debug Folder or not.
4. Version of your WIN 2k with Service pack.
5. JRE version.
Regds |
|
Back to top |
|
 |
srailkar |
Posted: Wed Jun 01, 2005 7:22 am Post subject: send mail with attachments |
|
|
Apprentice
Joined: 01 Jun 2005 Posts: 37
|
I search thru all responses here and did not get a resolution of how to attached a document to be passed to the SendMail node.
I have xml document that I need to pass either as the body of the Sendmail or attachment.
Any guidance appreciated.
Thanks in advance.
Shobha  |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 01, 2005 7:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You might want to understand a little more about how email attachments are constructed before you try to get the sendmail plug-in to solve your problems.
Like MQ, email sends "files" by appending their contents to a buffer (the email message).
So what you need to do is read the sendmail plug-in documentation and or the email specifications to understand how to put the contents of your xml document into the email message. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|