Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




1754 posts

Uber Geek
+1 received by user: 494


Topic # 183987 5-Nov-2015 13:54
Send private message

This probably isn't the right forum, but none of them seemed applicable.

We have a database system that generates emails and then sends them via an SMTP sender to our Exchange 2010 server, which then takes over and sends them where they need to go.

The problem we have is the database creates and sends the mail with a from field in the format of <user@domain.com>, but we would like for the recipient to see a "friendly name" in their inbox, not just the email address. The database will not allow us to set the addresses in the format of "User Name <user@domain.com>".

All email addresses are actual addresses for users on the Exchange server, so is there any way to make it append the appropriate 'friendly name' into the From header?

I tried doing this with transport rules on a per user basis, but Exchange 2010 will not allow a transport rule to modify the From header.




  Home:                                                      Work:
Home Work


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
4042 posts

Uber Geek
+1 received by user: 578

Moderator
Trusted
Subscriber

  Reply # 1421687 5-Nov-2015 13:57
Send private message

Wouldn't the recipient need to have the sender address in their contacts or address book already for it to show the friendly name?  Otherwise it's only going to see whatever is defined in the Name field of the senders mailbox.



1754 posts

Uber Geek
+1 received by user: 494


  Reply # 1421689 5-Nov-2015 14:03
Send private message

gehenna: Wouldn't the recipient need to have the sender address in their contacts or address book already for it to show the friendly name?  Otherwise it's only going to see whatever is defined in the Name field of the senders mailbox.


It previously worked by having the sender address defined in the database as "User Name <user@domain.com>" (including the quotation marks) and at the recipient end it would display as User Name in their inbox. Unfortunately the developers for some reason have broken this in an update and it will now only accepts user@domain.com. No telling if or when the old functionality will be restored.

Edit: For clarity.

 
 
 
 


gzt

9016 posts

Uber Geek
+1 received by user: 1233


  Reply # 1421707 5-Nov-2015 14:27
Send private message

Two things;

Are you sure it is broken. Is there an entry already in the database that still works?

What is the input method? Maybe the quote character must be escaped. Ooth maybe all hell would break loose if you did that so maybe ask before trying.



1754 posts

Uber Geek
+1 received by user: 494


  Reply # 1421715 5-Nov-2015 14:52
Send private message

gzt: Two things;

Are you sure it is broken. Is there an entry already in the database that still works?

What is the input method? Maybe the quote character must be escaped. Ooth maybe all hell would break loose if you did that so maybe ask before trying.


Yes, it's definitely broken. They've put some validation rules in place by the looks of it that will accept nothing but a straight email address (so not broken, it's a feature!).

Input method is that the email address is just typed into a field in the User setup.

2090 posts

Uber Geek
+1 received by user: 848


  Reply # 1421718 5-Nov-2015 14:56
Send private message

Create new Transport rule in Exchange 2010:
From - your sender, to your destination
Action - set header with value
set header and value as you want with correct formatting.
Enable rule.

I don't believe friendly names are part of a strict SMTP RFC so YMMV.

Sounds like a pretty pedantic request.



1754 posts

Uber Geek
+1 received by user: 494


  Reply # 1421724 5-Nov-2015 15:11
One person supports this post
Send private message

wasabi2k: Create new Transport rule in Exchange 2010:
From - your sender, to your destination
Action - set header with value
set header and value as you want with correct formatting.
Enable rule.

I don't believe friendly names are part of a strict SMTP RFC so YMMV.

Sounds like a pretty pedantic request.


Thanks, but as stated in the OP, Exchange 2010 will no allow me to create a transport rule that modifies the From header. You can go through all the steps, but it fails to create the rule. Apparently this is by design.

It may sound pedantic to you, but how our emails are presented to our customers reflects on our image, which we take quite seriously.

4935 posts

Uber Geek
+1 received by user: 1314

Trusted
Microsoft

  Reply # 1421732 5-Nov-2015 15:28
Send private message

The developers can't or won't revert their change?



1754 posts

Uber Geek
+1 received by user: 494


  Reply # 1421734 5-Nov-2015 15:38
Send private message

nathan: The developers can't or won't revert their change?


That's the million dollar question.

As it stands the issue has been escalated to their development team in Australia, but based on past experience I'm not hopeful of a speedy resolution so am hoping there might be something I can put in place in the interim at least.

From what I've tried and read it sounds like Exchange 2010 just won't do it (at least not in a single Exchange server environment), but if anyone knows a way I would be extremely grateful.

I think I need some third party software that I can have between the database and Exchange that can modify the headers based on rules, but I'm not having much luck finding anything. Would like it Windows based too.





1754 posts

Uber Geek
+1 received by user: 494


  Reply # 1421756 5-Nov-2015 16:07
Send private message

Hmmm... might be able to do it with address rewriting in Exchange. I'll update if successful or not.

EDIT:  OK, address rewriting not an option as the Exchange is on an SBS 2011, so doesn't have the Edge Transport role.

2090 posts

Uber Geek
+1 received by user: 848


  Reply # 1421765 5-Nov-2015 16:16
Send private message

Paul1977:
nathan: The developers can't or won't revert their change?


That's the million dollar question.

As it stands the issue has been escalated to their development team in Australia, but based on past experience I'm not hopeful of a speedy resolution so am hoping there might be something I can put in place in the interim at least.

From what I've tried and read it sounds like Exchange 2010 just won't do it (at least not in a single Exchange server environment), but if anyone knows a way I would be extremely grateful.

I think I need some third party software that I can have between the database and Exchange that can modify the headers based on rules, but I'm not having much luck finding anything. Would like it Windows based too.




Yeah sorry header rewrite stuff is an edge server transport thing.



4935 posts

Uber Geek
+1 received by user: 1314

Trusted
Microsoft

  Reply # 1421766 5-Nov-2015 16:17
Send private message

I used to be an exchange expert in the 4.0,5.0,5.5 days but not any more

How does their app connect to exchange. Is it SMTP or MAPI or?



1754 posts

Uber Geek
+1 received by user: 494


  Reply # 1421771 5-Nov-2015 16:19
Send private message

wasabi2k: 

Yeah sorry header rewrite stuff is an edge server transport thing.




Yeah, just realized that :(



1754 posts

Uber Geek
+1 received by user: 494


  Reply # 1421776 5-Nov-2015 16:24
Send private message

nathan: I used to be an exchange expert in the 4.0,5.0,5.5 days but not any more

How does their app connect to exchange. Is it SMTP or MAPI or?


SMTP. It sends via BLAT which they have incorporated into the application. So Exchange is really just functioning as a relay for the database generated emails.

2090 posts

Uber Geek
+1 received by user: 848


  Reply # 1421780 5-Nov-2015 16:26
Send private message

Paul1977:
nathan: I used to be an exchange expert in the 4.0,5.0,5.5 days but not any more

How does their app connect to exchange. Is it SMTP or MAPI or?


SMTP. It sends via BLAT which they have incorporated into the application. So Exchange is really just functioning as a relay for the database generated emails.


And you can't just change the BLAT config?

blat -profile should show how it is configured.



1754 posts

Uber Geek
+1 received by user: 494


  Reply # 1421811 5-Nov-2015 16:33
Send private message

wasabi2k:
Paul1977:
nathan: I used to be an exchange expert in the 4.0,5.0,5.5 days but not any more

How does their app connect to exchange. Is it SMTP or MAPI or?


SMTP. It sends via BLAT which they have incorporated into the application. So Exchange is really just functioning as a relay for the database generated emails.


And you can't just change the BLAT config?

blat -profile should show how it is configured.


They have implemented it so all the config info is passed to BLAT from the database app, so nothing I can change from the BLAT side. And it is the database rather than BLAT that is rejecting the addresses if I incorporate the friendly name.

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Symantec protects data everywhere with Information Centric Security
Posted 21-Sep-2017 15:33


FUJIFILM introduces X-E3 mirrorless camera with wireless connectivity
Posted 18-Sep-2017 13:53


Vodafone announces new plans with bigger data bundles
Posted 15-Sep-2017 10:51


Skinny launches phone with support for te reo Maori
Posted 14-Sep-2017 08:39


If Vodafone dropping mail worries you, you’re doing online wrong
Posted 11-Sep-2017 13:54


Vodafone New Zealand deploy live 400 gigabit system
Posted 11-Sep-2017 11:07


OPPO camera phones now available at PB Tech
Posted 11-Sep-2017 09:56


Norton Wi-Fi Privacy — Easy, flawed VPN
Posted 11-Sep-2017 09:48


Lenovo reveals new ThinkPad A Series
Posted 8-Sep-2017 14:37


Huawei passes Apple for the first time to capture the second spot globally
Posted 8-Sep-2017 10:45


Vodafone initiative enhances te reo Maori pronunciation on Google Maps
Posted 8-Sep-2017 10:40


Voyager Internet expand local internet phone services company with Conversant acquisition
Posted 6-Sep-2017 18:27


NOW Expands in to Tauranga
Posted 5-Sep-2017 18:16


Windows 10 Fall Creators Update coming Oct. 17
Posted 4-Sep-2017 14:10


Garmin introduce Garmin vivoactive 3
Posted 1-Sep-2017 18:38



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.