Skip to main content

Hi all,

I've just used the Emailer transformer for the first time. And I've run into a curious issue.

I've added a local service mail address as BCC to all emails, but when I review the emails in the service inbox, they all seem to have no TO entry. However, some of the external TO adresses I'm sending to responds with an error, so they've obviously gotten an email.

Is that caused by the Emailer sending separate mails to TO and BCC (and CC) ?

Is this a bug or WAD ?

Cheers

 

Lars I

I can advise that the Emailer definitely sends only 1 copy. I wonder if what you're seeing relates to the sending service that you're using. If you can try, maybe use Google Gmail as the sender (which is very easy to do in FME 2017 beta, a bit trickier in FME 2016) and see if that exhibits the same behaviour. My uninformed guess though is that what you're seeing relates to the particulars of the email services involved further down from FME. Sorry we can't be of more help.


Thanks Dale.

I'm rechecking my workspace to see, whether it's not populating the Emailer's "To" correctly then.

I'm using a conditional value for "To", overriding the normal email address attribute with a workspace "debug mailto" parameter, if this is defined. I'm checking for whether it "has a value", but am uncertain whether an empty string is considered a "value" wrt. the condition evaluator.

Cheers

 

Lars I.

Thanks Dale.

I'm rechecking my workspace to see, whether it's not populating the Emailer's "To" correctly then.

I'm using a conditional value for "To", overriding the normal email address attribute with a workspace "debug mailto" parameter, if this is defined. I'm checking for whether it "has a value", but am uncertain whether an empty string is considered a "value" wrt. the condition evaluator.

Cheers

 

Lars I.

 

Maybe try "running with breakpoints" so you can see what route is being taken?

Thanks Dale.

I'm rechecking my workspace to see, whether it's not populating the Emailer's "To" correctly then.

I'm using a conditional value for "To", overriding the normal email address attribute with a workspace "debug mailto" parameter, if this is defined. I'm checking for whether it "has a value", but am uncertain whether an empty string is considered a "value" wrt. the condition evaluator.

Cheers

 

Lars I.
Alas, the features are routed correctly, it's just the "To" value that's giving me trouble.

 

 

I've not a dual condition on the debug "To": has-attribute AND not-empty-string. Hope that does the trick.

 

 

I've added two inspectors just in case, even though it's run from a mapping file, not a workspace.

 

 


I found that the missing TO was caused by the value being stored in Mailadresse instead of MailAdresse. This was due to multiple data flows converging. I solved it with (yet another) conditional value testing for the existence of both attributes.


Reply