Skip to main content
jcrower
Explorer II
February 4, 2026
Question

Fortigate 81F - guest management email from

  • February 4, 2026
  • 4 replies
  • 263 views

Hi, another question about Guest Management!

 

When I create a Guest Pass with an email, if I send the email it uses that email address as the FROM and TO email.  This obviously won't work as we aren't going to be able to spoof guests email addresses.

 

Is there somewhere to specify what FROM address to use for sending the guest credential email?

 

thanks

4 replies

Stephen_G
Moderator
Moderator
February 6, 2026

Hello jcrower,

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible. 

Regards,
Stephen_G - Fortinet Community Team
Stephen_G
Moderator
Moderator
February 9, 2026

Hello,

 

We are still looking for an answer to your question.

 

We will come back to you ASAP.

Regards,
Stephen_G - Fortinet Community Team
Stephen_G
Moderator
Moderator
February 9, 2026

Hi jcrower,

 

I received the following answer. Can you please let me know if it helps?:

 

To specify the "From" address for sending guest credential emails in FortiGate, you need to configure the email settings using the CLI. By default, the FortiGate unit may use the guest's email address as both the sender and recipient, which can lead to issues as you described. Here's how you can configure a specific "From" address:

Configuring the "From" Email Address

  1. Access the CLI: Connect to your FortiGate device using SSH or through the console.

  2. Configure the Automation Action:

    • Use the following CLI commands to set a specific "From" email address for your automation action:
    # config system automation-action edit "guest_email_action" set action-type email set email-to "guest@example.com"  # Replace with the guest's email set email-from "your_sender_email@domain.com"  # Replace with your desired sender email set email-subject "Guest Access Credentials" next end 
    • Replace "your_sender_email@domain.com" with the email address you want to use as the sender.
  3. Verify Configuration:

    • You can verify the configured email action by navigating to:
      • Security Fabric -> Automation -> Action -> Email -> 'Your_Email_Action'

Important Notes

  • Authentication: Ensure that authentication is enabled if you are using a custom email server. This is necessary to specify the username and password for sending emails.

  • Default Behavior: If no custom "From" address is specified, the default behavior might use the guest's email address, which can cause issues with email delivery.

Follow-Up

If you encounter any issues with the configuration or need further assistance, please provide additional details about your setup, such as the FortiOS version and any specific error messages you receive. This will help in providing more targeted support.

Stephen_G - Fortinet Community Team
jcrower
jcrowerAuthor
Explorer II
February 9, 2026

Thanks for the reply but the config change you suggest seems to hard-code the guest email.  This isn't viable as we don't know who the guest could be, and I want to set up a user who only has permission to Guest Management, so they won't be able to make config changes like this.

jcrower
jcrowerAuthor
Explorer II
February 9, 2026

Also another query which will determine if this is a viable solution for us.  Can one guest pass be used for multiple devices?