Ask Your Question
1

Add a more friendly name on your sender email!

asked 2012-06-05 07:04:56 -0500

zaf gravatar image zaf
554 8 9 26

I found something nice and I want to share coz maybe you find it usefull too (most of you may already know).

On settings.py file you probably have a line where you set the email which all the outgoing emails will appear to have been sent from:

DEFAULT_FROM_EMAIL = 'do-not-reply@yourdomain.com'

Unfortunately, this do-not-reply appears also as the name of the sender, which, as you may agree, is not so nice.

The revolutionary code that will change your life is:

DEFAULT_FROM_EMAIL = 'Name Surname <do-not-reply@yourdomain.com>'

So at Name Surname you can put anything more friendly you want, like askbot team or askbot admin (of course not askbot but your site's name) and there you are, enjoy your new look :)

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-05 07:12:55 -0500

Evgeny gravatar image Evgeny flag of Chile
11329 50 84 183
http://askbot.org/

updated 2012-06-05 07:22:41 -0500

Well, the point of this is to make it clear that nobody will read your response. If there is a name shown - the point may be lost. That said - you can of course modify the settings as you like.

Is there a name that would also give a clear message "do not reply to me"? Maybe we can put that into the default settings file template. It's nice that it is possible to add a formatted name to those email settings.

link publish delete flag offensive edit

Comments

Well, still it's not nice to see mails from just 'do-not-reply'. There should be an indication about site's name, coz I receive mails from many sites that don't want to get reply.. You could have something like Askbot (do-not-reply) &lt;sender@yourdomain.com&gt;

zaf ( 2012-06-05 07:55:08 -0500 )edit
1

That could work, could you try that kind of name? Are parentheses acceptable? Btw, I see a formatting error in the comment, something to fix too.

Evgeny ( 2012-06-05 07:56:25 -0500 )edit

I haven't tried parentheses, hope they work, otherwise try other characters like [ or { or just omit them..

zaf ( 2012-06-05 08:02:33 -0500 )edit

can you let me know if it works for you?

Evgeny ( 2012-06-05 11:18:23 -0500 )edit

I just tested it. Bad news is that it ignores what is inside parentheses and with [ it doesn't work at all. Good news is that I tried with { and * and it works fine!

zaf ( 2012-06-05 12:21:15 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-06-05 07:04:56 -0500

Seen: 65 times

Last updated: Jun 05 '12