Configuration serveur Messagerie Outlook pour l'envoi email

cancel
Showing results for 
Search instead for 
Did you mean: 
altarus31
Member II

Configuration serveur Messagerie Outlook pour l'envoi email

Bonjour,


Je souhaite configurer Alfresco pr qu'il puisse envoyer des emails(invitatons),seulement voila,j'ai essayé avec le serveur de messagerie GMAIL,ca marche nikel.Maintenant,je veux envoyer des emails depuis le serveur mail Outlook de l'entreprise hebergé chez un professionel,j'ai procédé de la meme maniere,j'ai configuré les fichiers en questions mais ca ne marche pas,existe-il des différences par rapport à la configuration de gmail??? merci de me donner des pistes!!!
2 Replies
altarus31
Member II

Re: Configuration serveur Messagerie Outlook pour l'envoi email

voici le code de mon fichier alfresco-global,j'ai laissé quelques parties par analogie à la configuration de gmail:


###############################
## Common Alfresco Properties #
###############################

#
# Sample custom content and index data location
#————-
dir.root=./alf_data

#
# Sample database connection properties
#————-
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306

#
# External locations
#————-
#ooo.exe=soffice
#ooo.enabled=false
#img.root=./ImageMagick
#swf.exe=./bin/pdf2swf

#
# MySQL connection
#————-
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}

#
# PostgreSQL connection (requires postgresql-8.2-504.jdbc3.jar or equivalent)
#
#db.driver=org.postgresql.Driver
#db.url=jdbc:postgresql://localhost:5432/alfresco

#
# Index Recovery Mode
#————-
#index.recovery.mode=AUTO

#
# Outbound Email Configuration
#————-
mail.host=smtp.societe.com
mail.port=25
mail.protocol=smtp
mail.username=alfresco@entreprise.com   
mail.password=xxx
mail.encoding=UTF-8
mail.from.default=alfresco@alfresco.org

# Sample Gmail settings
mail.protocol=smtps

# New Properties pour securiser l acces a Gmail
mail.smtps.starttls.enable=true
mail.smtps.auth=true

#
# Alfresco Email Service and Email Server
#————-

# Enable/Disable the inbound email service.  The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
#email.inbound.enabled=true

# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
#email.server.allowed.senders=.*

#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#————-
#authentication.chain=alfrescoNtlm1:alfrescoNtlm

#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#————-
#alfresco.context=alfresco
#alfresco.host=${localname}
#alfresco.port=8080
#alfresco.protocol=http
#
#share.context=share
#share.host=${localname}
#share.port=8080
#share.protocol=http


et voici le contenu de mon fichier custom-email-context.xml:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
<!–                        –>
<!– MAIL SERVICE           –>
<!–                        –>

<bean id="mailService" class="org.springframework.mail.javamail.JavaMailSenderImpl">
    <property name="host">
        <value>${mail.host}</value>
    </property>
    <property name="port">
        <value>${mail.port}</value>
    </property>
    <property name="protocol">
        <value>${mail.protocol}</value>
    </property>
    <property name="username">
        <value>${mail.username}</value>
    </property>
    <property name="password">
        <value>${mail.password}</value>
    </property>
    <property name="defaultEncoding">
        <value>${mail.encoding}</value>
    </property>
    <property name="javaMailProperties">
        <props>
            <prop key="mail.smtps.auth">${mail.smtps.auth}</prop>
            <prop key="mail.smtps.starttls.enable">${mail.smtps.starttls.enable}</prop>
        </props>
    </property>
</bean>
</beans>



altarus31
Member II

Re: Configuration serveur Messagerie Outlook pour l'envoi email

personne pour aider??? Smiley Sad  Smiley Sad