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.




1852 posts

Uber Geek
+1 received by user: 513


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
4113 posts

Uber Geek
+1 received by user: 627

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.



1852 posts

Uber Geek
+1 received by user: 513


  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

9146 posts

Uber Geek
+1 received by user: 1290


  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.



1852 posts

Uber Geek
+1 received by user: 513


  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.



1852 posts

Uber Geek
+1 received by user: 513


  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.

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



1852 posts

Uber Geek
+1 received by user: 513


  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.





1852 posts

Uber Geek
+1 received by user: 513


  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.



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



1852 posts

Uber Geek
+1 received by user: 513


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



1852 posts

Uber Geek
+1 received by user: 513


  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.



1852 posts

Uber Geek
+1 received by user: 513


  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 »

Air New Zealand experiments with blockchain technology
Posted 23-Nov-2017 15:39


Symantec selects Amazon Web Services to deliver cloud security
Posted 23-Nov-2017 10:40


New Zealand Ministry of Education chooses Unisys for cloud-based education resourcing management system
Posted 22-Nov-2017 22:00


Business analytics software powers profits for NZ wine producers
Posted 22-Nov-2017 21:52


Pyrios strikes up alliance with Microsoft integrator UC Logiq
Posted 22-Nov-2017 21:51


The New Zealand IT services ecosystem - it's all digital down here
Posted 22-Nov-2017 21:49


Volvo to supply tens of thousands of autonomous drive compatible cars to Uber
Posted 22-Nov-2017 21:46


From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26


UFB killer app: Speed
Posted 17-Nov-2017 17:01


The case for RSS — MacSparky
Posted 13-Nov-2017 14:35



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.