SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
bug in mailsendwithattachment

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
bug in mailsendwithattachment
Author Message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post bug in mailsendwithattachment Reply with quote

there is a bug in MailsendwithAttachment.
If I put some text into a string that I want to appear in the body and email it I get a space inserted by 24x7 where I don't want one.
If I do exactly the same but use MailSend there is no space.

eg
dim(body, string)
set body, "Please find attached remittances"
// mail 1
MailSendWithAttachment("profile","password","Dominic Klein","Remittance File",body,"filename")
// mail 2
MailSend("profile","password","Dominic Klein","Remittance File",body)

in my email body I get :
(from mail 1)
Please find attached remittance s
(from mail 2)
Please find attached remittances

This is causing us a headache here. We are looking at reinstalling Outlook as an internet install but that means I will have to change all my jobs as they won't be using a profile etc anymore.
Any ideas ? There is no word wrap or uuencode option on the network install of Outlook. But it seems odd that it works in MailSend but not in MailWithAttachment.

Wed Jul 24, 2002 4:37 am View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: bug in mailsendwithattachment Reply with quote

I have changed the email options from MIME to SMTP and it seems to be OK now !
I don;t know why it was doing it but maybe you want to look into it ?
As far as I am concerned I will just use smtp.

Regards

Wed Jul 24, 2002 6:18 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: bug in mailsendwithattachment Reply with quote

Sorry, but there is no bug in 24x7. These spaces are inserted by your email program while encoding/decoding messages. Here is how you can proof that:

Switch back to MAPI.
In the job script remove the recipient email address just leave an empty string "". Run the job. The Send Message window from Outlook will appear. You should be able to see your message unchanged.

It works fine with SMTP because the entire email handling is done in 24x7 without using MAPI and your email client software (MS Outlook 98)

: I have changed the email options from MIME to SMTP and it seems to be OK now
: !
: I don;t know why it was doing it but maybe you want to look into it ?
: As far as I am concerned I will just use smtp.

: Regards

Wed Jul 24, 2002 8:08 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.