You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hello,
I have 2 questions, how can I filter email with subject?
I have tPOP -->tFileInputMail-->tLogRow.
This receive all emails with attachments, but i want to receive only emails with subject: "2345345". How can i do it?
2 question is:
How can i forward received mails with attachments?
Thanks for reply.
Offline
Hello
This receive all emails with attachments, but i want to receive only emails with subject: "2345345". How can i do it?
You can define only one column 'subject' and its mail part is "subject".
2 question is:
How can i forward received mails with attachments?
On tFileInputMail component, there is a attachment export directory.
Best regards
shong
Offline
Ok. I know this informations.
But how can I filter by subject? Is there any scheme to do this?
And about forwarding mails:
I know that scheme must be tPOP_1-->tFileInputMail_1-->tSendMail_1.
But what I should write in tSendMail in the field Subject?
If I write e.g. $tSendMail_1[1] it gives me an error.
I write in java.
Can somebody help me?
Offline
Hello
Please see the screenshots.
Best regards
shong
Offline
Thank you shong, subject and CC is working fine, but e.g. body isn't working. It gives me error:
Exception in component tSendMail_1
java.lang.NullPointerException
at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:1286)
at javax.mail.internet.MimeBodyPart.setText(MimeBodyPart.java:1023)
at javax.mail.internet.MimeBodyPart.setText(MimeBodyPart.java:718)
at javax.mail.internet.MimeBodyPart.setText(MimeBodyPart.java:702)
at msn.mail.mail.tPOP_1Process(mail.java:689)
at msn.mail.mail.runJobInTOS(mail.java:899)
at msn.mail.mail.main(mail.java:806)
How can I copy "body" and "attachments" to send mail?
Offline
Hello
Exception in component tSendMail_1
java.lang.NullPointerException
at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:1286)
I have tested the body part on TOS2.4.0RC2, I always get null value, it should a [Bugtracker, bug 3927, fixed] null value on body part.
I aslo tested it on TOS2.3.0, it works fine.
Best regards
shong
Offline
On some mails it works fine, on some i get this error. I'm working on ver 2.3.3.
Offline
Hello
On some mails it works fine, on some i get this error. I'm working on ver 2.3.3.
If you work on TOS2.3.3, you can add a tMap component between tFileInputMail and tLogRow and deal with the null value on tMap, for example:
row1.body==null?"This is an empyt email":row1.body
Best regards
shong
Offline
Thanks.
I check this. It gives me the same error
.
And what about attachments?
Last edited by covenant13 (2008-05-27 20:00:11)
Offline
Pages: 1