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.


2157 posts

Uber Geek
+1 received by user: 618


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

Uber Geek
+1 received by user: 872

Moderator
Trusted
Lifetime 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.



2157 posts

Uber Geek
+1 received by user: 618


  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

9833 posts

Uber Geek
+1 received by user: 1472


  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.



2157 posts

Uber Geek
+1 received by user: 618


  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.



2157 posts

Uber Geek
+1 received by user: 618


  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.

4955 posts

Uber Geek
+1 received by user: 1318

Trusted
Microsoft

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

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



2157 posts

Uber Geek
+1 received by user: 618


  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.





2157 posts

Uber Geek
+1 received by user: 618


  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.



4955 posts

Uber Geek
+1 received by user: 1318

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?



2157 posts

Uber Geek
+1 received by user: 618


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



2157 posts

Uber Geek
+1 received by user: 618


  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.



2157 posts

Uber Geek
+1 received by user: 618


  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 »

N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07


All or Nothing: New Zealand All Blacks arrives on Amazon Prime Video
Posted 2-Jun-2018 16:21


Innovation Grant, High Tech Awards and new USA office for Kiwi tech company SwipedOn
Posted 1-Jun-2018 20:54


Commerce Commission warns Apple for misleading consumers about their rights
Posted 30-May-2018 13:15


IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41



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.