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.




2865 posts

Uber Geek


# 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
6070 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  # 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.



2865 posts

Uber Geek


  # 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

11033 posts

Uber Geek


  # 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.



2865 posts

Uber Geek


  # 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.

2092 posts

Uber Geek


  # 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.



2865 posts

Uber Geek


  # 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.

5262 posts

Uber Geek

Trusted
Microsoft

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

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

 
 
 
 




2865 posts

Uber Geek


  # 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.





2865 posts

Uber Geek


  # 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.

2092 posts

Uber Geek


  # 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.



5262 posts

Uber Geek

Trusted
Microsoft

  # 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?



2865 posts

Uber Geek


  # 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 :(



2865 posts

Uber Geek


  # 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.

2092 posts

Uber Geek


  # 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.



2865 posts

Uber Geek


  # 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 and LinkedIn »



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 »

Ring launches indoor-only security camera
Posted 23-Jan-2020 17:26


New report findings will help schools implement the digital technologies curriculum content
Posted 23-Jan-2020 17:25


N4L to upgrade & support wireless internet inside schools
Posted 23-Jan-2020 17:22


Netflix releases 21 Studio Ghibli works
Posted 22-Jan-2020 11:42


Vodafone integrates eSIM into device and wearable roadmap
Posted 17-Jan-2020 09:45


Do you need this camera app? Group investigates privacy implications
Posted 16-Jan-2020 03:30


JBL launches headphones range designed for gaming
Posted 13-Jan-2020 09:59


Withings introduces ScanWatch wearable combining ECG and sleep apnea detection
Posted 9-Jan-2020 18:34


NZ Police releases public app
Posted 8-Jan-2020 11:43


Suunto 7 combine sports and smart features on new smartwatch generation
Posted 7-Jan-2020 16:06


Intel brings innovation with technology spanning the cloud, network, edge and PC
Posted 7-Jan-2020 15:54


AMD announces high performance desktop and ultrathin laptop processors
Posted 7-Jan-2020 15:42


AMD unveils four new desktop and mobile GPUs including AMD Radeon RX 5600
Posted 7-Jan-2020 15:32


Consolidation in video streaming market with Spark selling Lightbox to Sky
Posted 19-Dec-2019 09:09


Intel introduces cryogenic control chip to enable quantum computers
Posted 10-Dec-2019 21:32



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.