Thank you for your reply, I tried doing what you said, but I still have the 
problem like connection time out. I used mailjet as my smtp server and I 
also configured my email.

This is my trac.ini conf

[notification]
admit_domains = 
always_notify_owner = true
always_notify_reporter = false
always_notify_updater = true
ambiguous_char_width = single
email_sender = SmtpEmailSender
ignore_domains = 
mime_encoding = none
sendmail_path = sendmail
smtp_always_bcc = 
smtp_always_cc = 
smtp_default_domain = 
smtp_enabled = true
smtp_from = [email protected]
smtp_from_name = 
smtp_password = 4b3d5c7134c4ff7a34c51addeb685b5d
smtp_port = 587
smtp_replyto = [email protected]
smtp_server = in-v3.mailjet.com
smtp_subject_prefix = __default__
smtp_user = f19a86b0354ded81a09fa5d5133780e8
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = false
use_short_addr = false
use_tls = false


On Thursday, April 27, 2017 at 12:54:29 PM UTC+2, RjOllos wrote:
>
>
>
> On Thursday, April 27, 2017 at 3:32:18 AM UTC-7, [email protected] 
> <javascript:> wrote:
>>
>> Hi guys,
>>
>> I am a new user to TRAC, and I have the following version installed, 
>>
>> Trac    1.2.1
>> Genshi  0.7 (without speedups)
>> pysqlite  2.6.0
>> python   2.7.12
>> setuptools  20.10.1
>> SQlite   3.8.11
>> jquery   1.11.3
>> jquery   1.11.4
>>
>> Now I am trying to enable notifications when I create or modify a ticket, 
>> but I am getting the following error log:
>>
>> 2017-04-27 12:32:18,092 Trac[web_ui] ERROR: Failure sending notification 
>> on creation of ticket #17: ConfigurationError: SMTP server connection error 
>> ([Errno 10061] Aucune connexion n’a pu être établie car l’ordinateur cible 
>> l’a expressément refusée). Please modify <code>[notification] 
>> smtp_server</code> or <code>[notification] smtp_port</code> in your 
>> configuration.
>>
>> I have the following Trac.ini configuration:
>>
>> [notification]
>> admit_domains = 
>> always_notify_owner = true
>> always_notify_reporter = true
>> always_notify_updater = true
>> ambiguous_char_width = single
>> batch_subject_template = ${prefix} Batch modify: ${tickets_descr}
>> default_format.email = text/plain
>> email_address_resolvers = SessionEmailResolver
>> email_sender = SmtpEmailSender
>> ignore_domains = 
>> message_id_hash = md5
>> mime_encoding = base64
>> sendmail_path = sendmail
>> smtp_always_bcc = 
>> smtp_always_cc = 
>> smtp_default_domain = 
>> smtp_enabled = enabled
>> smtp_from = karren
>> smtp_from_author = enabled
>> smtp_from_name = 
>> smtp_password = 
>> smtp_port = 25
>> smtp_replyto = [email protected] <javascript:>
>> smtp_server = localhost
>> smtp_subject_prefix = __default__
>> smtp_to = [email protected] <javascript:>
>> smtp_user = 
>> ticket_subject_template = ${prefix} #${ticket.id}: ${summary}
>> use_public_cc = disabled
>> use_short_addr = disabled
>> use_tls = enabled
>>
>> [notification-subscriber]
>> always_notify_cc = CarbonCopySubscriber
>> always_notify_previous_updater = TicketPreviousUpdatersSubscriber
>> always_notify_updater = TicketUpdaterSubscriber
>>
>>
>> Any help would be appreciated.
>>
>>  Thank you,
>>
>> SF
>>
>
> Have you configured an email server on your host? If not, you will need to 
> configure one.
>
> Alternatively, you can use an email service. The docs describe how to use 
> Gmail:
>
> https://trac.edgewall.org/wiki/TracNotification#UsingGMailastheSMTPrelayhost
>
> I've used SendGrid as an SMTP service. Their free plan was more than 
> enough for my purposes.
>
> https://sendgrid.com/docs/Classroom/Basics/Email_Infrastructure/recommended_smtp_settings.html
>
> - Ryan
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to