SmartsIntegrator Support and Discussion Forums

Further email send issues

Share/Bookmark: Add this Thread to Digg Digg   Add this Thread to StumbleUpon Stumble Upon   Add this Thread to Del.icio.us Del.icio.us   Add this Thread to Reddit Reddit   Add this Thread to Facebook Facebook
RE: Further email send issues
by benj on Tue, Jan 20 2009 5:29 PM
Thanks Mike - this has been reproduced and fixed in 1.3.022C, available tomorrow.

Thanks again for your help,

Ben.
Ben Jackson
SmartsIntegrator Technical Support
benj
benj
Joined: Thu, Feb 7 2008
Posts: 96
Further email send issues
by portedquery on Tue, Jan 20 2009 5:28 PM
Ben,

Just did some more testing and the attachment works fine with the HTML body. I think the email errors were just a setup issue so the only thing left is the token replacement problems which still exists.

Apologies for the string of e-mails but did not want to waste your time on the e-mail failure issue.

Cheers

Mike

From: Mike P
Sent: 19 January 2009 15:54
To: 'Ben Jackson / BlueHub'
Subject: RE: E-Mail attachment question

Ben,

I think I see what might be happening in the token replacement..It looks like only one token replacement is happening. I switched back to using all tokens and now the body text does appear (I check the fields in WT_Email) but now recipient does not get replaced.

When looking at the Body, I can see WHIZTALKATTACHMENTDELIMITER so I guess you can do Body + Attachment but again, the Attachment Name is not being replaced.

Still not sure about the error below.

Cheers

Mike
From: Mike P
Sent: 19 January 2009 15:50
To: 'Ben Jackson / BlueHub'
Subject: RE: E-Mail attachment question

Ben,

One more thing…I am using a local IIS SMTP server. I can send e-mail successfully in Outlook Express however when sending from SI, I am getting the exception “The specified string is not in the form required for an e-mail address” – The mail address looks fine to me (I hard coded one in the port). Sorry, also the token replacement does not seem to work for the Recipient either unless I am doing something very wrong.

Cheers for the help

Mike

From: Mike P
Sent: 19 January 2009 15:35
To: 'Ben Jackson / BlueHub'
Subject: RE: E-Mail attachment question

Hi Ben,

Hope you had a good weekend….

A few e-mail questions – Can you have an HTML body and an attachment? I can’t seem to get this to work but even the attachment is not coming out. Also, the token replacement does not seem to work for Subject, Body or Attachment name.

I am setting the MessageBody to the attachment I want to send (a .csv file).

Then, against the Message itself, I am setting properties (Message[“Subject”]= etc) however I cannot get Subject to come through or the HTML body text.

I guess I can resort to .NET library or we actually have an e-mail library we bought but I’d rather do this through SI ports to get the retry and other associated benefits.

Any help greatly appreciated

Kind regards

Mike
portedquery
Joined: Wed, Jul 2 2008
Posts: 72