Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,096 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I run the code below through that's on my API call, the code stops at the smtp_connection part. I'm able to run the API locally but when it is deployed on the Function App, it doesn't run through the smtp_connection line. Are there any settings I need to set up to allow this to go through?
smtp_server = os.getenv("SMTP_SERVER")
smtp_port = 25
smtp_connection = smtplib.SMTP(smtp_server, smtp_port)