ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Send Email With Zip File Attachment

  • Summary
  • Usage
  • Syntax
  • Code Sample
  • Environments
  • Licensing Information

Summary

Emails a file to an email address using an SMTP email server.

Caution:

This tool is primarily intended for use as a part of a Clip and Email/Data Extraction geoprocessing service. To this end, this script tool is contained in the Extract Data and Email Task model tool and is primarily intended for use by that model.

Usage

  • Ask your system administrator for details about an SMTP email server that you can use.

Syntax

SendEmailWithZipFileAttachment_server (To, From, Subject, Text, Zip_File, Max_File_Size__MB_, SMTP_Email_Server, {User}, {Password})
ParameterExplanationData Type
To

The email address of the recipient.

String
From

The email address of the sender.

String
Subject

The text in the subject line of the email.

String
Text

The body text of the email.

String
Zip_File

The file to be attached to the email.

File
Max_File_Size__MB_

The maximum allowable size of an attachment.

If you don't know what to use for Max File Size, check the attachment size limit of your SMTP mail server and the recipient email provider.

Long
SMTP_Email_Server

The SMTP email server that will deliver the email.

String
User
(Optional)

The user which will log in to the SMTP email server.

String
Password
(Optional)

The user password used to connect to the SMTP email server (if necessary).

String

Environments

This tool does not use any geoprocessing environments

Licensing Information

  • ArcGIS for Desktop Basic: Yes
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related Topics

  • An overview of the Data Extraction toolset
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal