After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695311 - Cannot send mail, email address not filled
Cannot send mail, email address not filled
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Mail
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
: 700968 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-03-06 18:07 UTC by Milan Crha
Modified: 2013-08-09 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bug #695311 - Fill email address even when autodiscovery process is not called (1.71 KB, patch)
2013-03-06 21:53 UTC, Fabiano Fidêncio
needs-work Details | Review
Fill email address even when autodiscovery process is not called (1.75 KB, patch)
2013-03-07 14:32 UTC, Fabiano Fidêncio
committed Details | Review
Keep email address updated in database (2.29 KB, patch)
2013-03-07 14:32 UTC, Fabiano Fidêncio
committed Details | Review

Description Milan Crha 2013-03-06 18:07:39 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=917900

Description of the problem:

I get the error:

The reported error was "Exchange server cannot send message as 'user@example.com', when the account was configured for address 'NULL'


I was able to send e-mail doing the following:

$ grep "^Email= *" .config/evolution/sources/*


Which will return you the configuration file of the account.  You then edit the Email=  line and add 'user@example' into it and my mail would send.

The account was configured from scratch, it was the very first e-mail account I added to evolution.
Comment 1 Milan Crha 2013-03-06 18:09:17 UTC
After investigation I'm able to reproduce this too, when I do _not_ click the Fetch URL button. The fields which are not part of the autodiscovery process should be prefilled, to make that part optional, or force the fetch URL being always clicked, but it feels suboptimal.
Comment 2 Fabiano Fidêncio 2013-03-06 21:53:39 UTC
Created attachment 238253 [details] [review]
Bug #695311 - Fill email address even when autodiscovery process is not called
Comment 3 Matthew Barnes 2013-03-06 22:54:23 UTC
Not sure if Milan would prefer to review these, but looks good to me.
Comment 4 Milan Crha 2013-03-07 08:20:35 UTC
Review of attachment 238253 [details] [review]:

It works with one exception, if I fill my name and address, click Next, then realize I made a typo in the email address and return back, fix it and forth again, then the .source file will contain the old EMail, not the one with which I finished the wizard. It's OK to not change proposed host URL, it's there only to give a hint to a user, and is most often wrong anyway, but the email address is important and used on various places, thus should be handled differently.
Comment 5 Fabiano Fidêncio 2013-03-07 14:32:42 UTC
Created attachment 238302 [details] [review]
Fill email address even when autodiscovery process is not called
Comment 6 Fabiano Fidêncio 2013-03-07 14:32:44 UTC
Created attachment 238303 [details] [review]
Keep email address updated in database
Comment 7 Milan Crha 2013-03-07 16:48:12 UTC
Review of attachment 238302 [details] [review]:

OK, I see it's basically the initial patch, which you extended in the second patch
Comment 8 Milan Crha 2013-03-07 16:49:44 UTC
Review of attachment 238303 [details] [review]:

Looks good, please commit both as one to master. Thanks.
Comment 9 Fabiano Fidêncio 2013-03-07 17:34:59 UTC
Pushed as c4c270f6c15c0b28
Comment 10 Milan Crha 2013-08-09 15:43:28 UTC
*** Bug 700968 has been marked as a duplicate of this bug. ***