bmarsh9 / gapps

Security compliance platform - SOC2, CMMC, ASVS, ISO27001, HIPAA, NIST CSF, NIST 800-53, CSC CIS 18, PCI DSS, SSF tracking. https://gapps.darkbanner.com
Other
437 stars 99 forks source link

Issue with Email Apps Like Outlook , Zoho #109

Closed S-Velayutham closed 10 months ago

S-Velayutham commented 10 months ago

Just want to start by saying thank you for this wonderful project. I signed to the sas based GAPPS and works fine inviting members but we are using office 365 where tried methods with yaml but still couldnt get it to work. Checked Gapps mx records are it was usingg google. where as ur org uses microsoft 365 :(

Finally managed to send it however mails arent receiving inspite of lowering our security setting and checking junk. If you could provide us a step step . i would be really helpful.

Thanks

bmarsh9 commented 10 months ago

@S-Velayutham Could you edit the CHANGE ME values below, save/run the script and then visit localhost:5000/ in your browser? This will help test. You can also set the env variable MAIL_DEBUG=True to show more logs

from flask import Flask
from flask_mail import Mail, Message

app = Flask(__name__)
mail = Mail(app)

@app.route("/")
def index():
    msg = Message("Hello",
                  sender="CHANGE ME",
                  recipients=["CHANGE ME"])
bmarsh9 commented 10 months ago

Closing - reopen if you have the same issue