Benches Uncategorized

0

Error emailing .mobileconfig profile through ip...

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I am trying to email the Enterprise Profiles I created using the "Email Profile" button located at the bottom of the IPhone Configuration Web Utility page (http://localhost:3000). The IPhone configuration web utility on my Windows XP SP3 Pro PC.

When I press that button then enter the email address and click the "email" button, I recieve the following error on the page.

"An error ocurred while trying to send the email: No such file or directory - /usr/sbin/sendmail -i -t"

I already went in and commented out the appropriate lines in the "C:program filesAppleiPhone Configuration Web Utilityconfigenvironmentsproduction.rb" file as specified in the enterprise deployment guide but recieve the error shown above related to /usr/sbin/sendmail ... there is no sendmail environment thats why I edited the lines and put in the smtp info as shown below.

# Mail Configuration
#
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raisedeliveryerrors = true

# If you have sendmail installed, leave this uncommented.
# ActionMailer::Base.delivery_method = :sendmail

# If you don't have sendmail, then comment out the line above and
# uncomment the following lines. You will need to customize the settings
# below for your network.

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => "mail.mydomain.com",
:port => 587,
:domain => "mail.mydomain.com"
}

Am I doing something wrong? Did I miss something? Any advice or recommendations would be greatly appreciated. I need to be able to send the profiles from the utility using the email function.

Message was edited by: ACECORP

0 replies

Sign in or join Beachball Help to reply.