Commands in Mail?

For many years I have been scripting a lot in HyperCard, but then gave it up.
I am slowly drifting back to AppleScript, but I have a question:
I write a lot of e-mails in German, and would like to effortlessly switch between the German & English dictionaries in the spell checker. QuicKeys is too unreliable in doing it.
Can AS access the pull-down menus & submenus, and make choices?
Thanks,
Klaus

'Can AS access the pull-down menus & submenus, and make choices?' - Ja.
Betrachten Sie ...
tell application "Mail"
activate
set new_message to (make new outgoing message at end of outgoing messages)
set visible of new_message to true
end tell
tell application "System Events" to tell process "Mail"
click menu item "Spelling…" of menu "Spelling" of menu item "Spelling" of menu "Edit" of menu bar item "Edit" of menu bar 1
tell window "Spelling"
tell group 1
set popUp_Value to value of pop up button 1
set tPopUp to pop up button 1
click tPopUp
tell tPopUp
if (popUp_Value is "Deutsch") then
click menu item "English" of menu 1
else
click menu item "Deutsch" of menu 1
end if
end tell
end tell
delay 0.25
click button 1
end tell
end tell
... oder ...
tell application "Mail"
activate
set new_message to (make new outgoing message at end of outgoing messages)
set visible of new_message to true
end tell
tell application "System Events" to tell process "Mail"
click menu item "Rechtschreibung…" of menu "Rechtschreibung" of menu item "Rechtschreibung" of menu "Bearbeiten" of menu bar item "Bearbeiten" of menu bar 1
tell window "Rechtschreibung"
tell group 1
set popUp_Value to value of pop up button 1
set tPopUp to pop up button 1
click tPopUp
tell tPopUp
if (popUp_Value is "Deutsch") then
click menu item "English" of menu 1
else
click menu item "Deutsch" of menu 1
end if
end tell
end tell
delay 0.25
click button 1
end tell
end tell
  Mac OS X (10.4.4)  

Similar Messages

  • Command Line Mail and Contacts

    I love alpine, but as it can't load my contacts like gmail's web interface I feel like it can never be a daily driver.  Is there a way to get contacts from alpine or another command line mail service?  Does anyone use command line mail services?

    Trilby wrote:Did you follow the Mutt wiki to set up your ~/.muttrc?
    Well, that would explain a lot (gah).  I used an article I found on lifehacker and it didn't work.  This did though!  Is there a way to set it so it only retrieves x amount of messages from my INBOX?  Because I have tons of messages and cosequently it takes forever to start up.

  • Undo delete message command in Mail Exchange account doesn't work post Yosemite

    Before I installed Yosemite on my MacBook Air, I was able to undo a message deleted in Mail Exchange 2010 account with menu command (Undo Delete Message) or Command-Z.  Even with recent updates to 10.10.1 which were supposed to address Mail-Exchange 2010 account issues, it does not work. I have to go into deleted messages and manually restore to Inbox.  Is anybody else having this problem?

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Mail Feedback

  • Error 550 5.7.1 Rcpt command failed: Mail denied due to site`s policy

    Hi,
    I have a problem with my ocs, i cannot send mail to outside domains from outside my network.
    What i want to do is to be able to allow a few users to send emails from anywhere (any ip) as long as they use auth because they are mobile users (black berry, Windows Mobile or using mobile internet).
    The problem is that if i put the emails in trusted senders it does not work.
    I put there '[email protected] auth" and restart the service but that user is not able to send email to outside.
    If i put his ip in trusted IPs then everything works but since they have dinamic ip`s this does not help me.
    Thanks,
    Iulius

    You need to ensure that you have the attrib in the smtp_in settings set to allow relay to non-local domains as 'authenticated' and bounce the instances.

  • Command line mail not working since Server 2.2

    Since Mountain Lion, everytime Server.app updates it borks my previous mail settings/hacks/workarounds to the issues with the last version. I just want sendmail, mail, postfix, etc to work and stay working. I even have my own list of stuff to reapply with each Server.app update, but sadly even that has stopped working.
    Just basic mail won't even work:
    $ mail adam
    Subject: test
    This is a test mail
    ⌃D
    $ mail
    No mail for adam
    Here are my current settings.
    $ sudo serveradmin fullstatus mail
    mail:setStateVersion = 1
    mail:readWriteSettingsVersion = 1
    mail:connectionCount = 0
    mail:servicePortsRestrictionInfo = _empty_array
    mail:protocolsArray:_array_index:0:status = "ON"
    mail:protocolsArray:_array_index:0:kind = "INCOMING"
    mail:protocolsArray:_array_index:0:protocol = "IMAP"
    mail:protocolsArray:_array_index:0:state = "STOPPED"
    mail:protocolsArray:_array_index:0:error = ""
    mail:protocolsArray:_array_index:1:status = "ON"
    mail:protocolsArray:_array_index:1:kind = "INCOMING"
    mail:protocolsArray:_array_index:1:protocol = "POP3"
    mail:protocolsArray:_array_index:1:state = "STOPPED"
    mail:protocolsArray:_array_index:1:error = ""
    mail:protocolsArray:_array_index:2:status = "ON"
    mail:protocolsArray:_array_index:2:kind = "INCOMING"
    mail:protocolsArray:_array_index:2:protocol = "SMTP"
    mail:protocolsArray:_array_index:2:state = "RUNNING"
    mail:protocolsArray:_array_index:2:error = ""
    mail:protocolsArray:_array_index:3:status = "ON"
    mail:protocolsArray:_array_index:3:kind = "OUTGOING"
    mail:protocolsArray:_array_index:3:protocol = "SMTP"
    mail:protocolsArray:_array_index:3:state = "RUNNING"
    mail:protocolsArray:_array_index:3:error = ""
    mail:protocolsArray:_array_index:4:status = "ON"
    mail:protocolsArray:_array_index:4:kind = "INCOMING"
    mail:protocolsArray:_array_index:4:protocol = "Junk_mail_filter"
    mail:protocolsArray:_array_index:4:state = "RUNNING"
    mail:protocolsArray:_array_index:4:error = ""
    mail:protocolsArray:_array_index:5:status = "ON"
    mail:protocolsArray:_array_index:5:kind = "INCOMING"
    mail:protocolsArray:_array_index:5:protocol = "Virus_scanner"
    mail:protocolsArray:_array_index:5:state = "RUNNING"
    mail:protocolsArray:_array_index:5:error = ""
    mail:startedTime = "2013-02-05 16:26:45 +0000"
    mail:logPaths:IMAP Log = "/Library/Logs/Mail/mailaccess.log"
    mail:logPaths:Server Log = "/Library/Logs/Mail/mailaccess.log"
    mail:logPaths:POP Log = "/Library/Logs/Mail/mailaccess.log"
    mail:logPaths:SMTP Log = "/var/log/mail.log"
    mail:logPaths:Migration Log = "/Library/Logs/MailMigration.log"
    mail:logPaths:Virus Log = "/Library/Logs/Mail/clamav.log"
    mail:logPaths:Amavisd Log = "/Library/Logs/Mail/amavis.log"
    mail:logPaths:Virus DB Log = "/Library/Logs/Mail/freshclam.log"
    mail:imapStartedTime = ""
    mail:servicePortsAreRestricted = "NO"
    mail:state = "RUNNING"
    mail:postfixStartedTime = "2013-02-05 16:26:45 +0000"

    Yes, the ProgramArguments key contains the exact array you posted.
    And here is the output for
    sudo serveradmin settings mail
    mail:postfix:smtpd_pw_server_security_options:_array_index:0 = "cram-md5"
    mail:postfix:smtpd_pw_server_security_options:_array_index:1 = "digest-md5"
    mail:postfix:smtpd_pw_server_security_options:_array_index:2 = "login"
    mail:postfix:smtpd_pw_server_security_options:_array_index:3 = "plain"
    mail:postfix:spam_quarantine = "[email protected]"
    mail:postfix:smtp_reject_list_enabled = no
    mail:postfix:bayes_path = "/Library/Server/Mail/Data/scanner/amavis/.spamassassin/bayes"
    mail:postfix:smtp_sasl_auth_enable = yes
    mail:postfix:whitelist_from = _empty_array
    mail:postfix:submit_cred:XXXXXXX.local:username = "submit"
    mail:postfix:submit_cred:XXXXXXX.local:password = "XXXXXXXXXXXXXXXXXXXXXXX"
    mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_userid = "[email protected]"
    mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_pwd = "XXXXXXXXXXXXXX"
    mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_host = "smtp://smtp.gmail.com:587"
    mail:postfix:client_permit_mynetworks = yes
    mail:postfix:smtpd_tls_cert_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cert.pem"
    mail:postfix:maps_rbl_domains_enabled = no
    mail:postfix:spam_subject_tag = "***JUNK MAIL*** "
    mail:postfix:smtpd_tls_CAfile = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.chain.pem"
    mail:postfix:message_size_limit_enabled = yes
    mail:postfix:virus_db_last_update = "2013-02-06 13:52:18 +0000"
    mail:postfix:mail_enabled_groups = _empty_array
    mail:postfix:add_whitelist_domain = _empty_array
    mail:postfix:virus_scan_enabled = yes
    mail:postfix:spam_ok_locales = "en"
    mail:postfix:spam_notify_admin_email = "[email protected]"
    mail:postfix:black_hole_domains:_array_index:0 = "zen.spamhaus.org"
    mail:postfix:virus_db_log_level = "notice"
    mail:postfix:spam_scan_enabled = yes
    mail:postfix:virus_quarantine = "[email protected]"
    mail:postfix:reject_unauth_piplining_enabled = no
    mail:postfix:blacklist_from = _empty_array
    mail:postfix:spam_rewrite_subject = yes
    mail:postfix:message_size_limit = 10485760
    mail:postfix:greylist_disable = no
    mail:postfix:mynetworks:_array_index:0 = "127.0.0.0/8"
    mail:postfix:virus_log_level = "notice"
    mail:postfix:host_whitelist = _empty_array
    mail:postfix:rbl_override_list = _empty_array
    mail:postfix:group_expansion:start_interval = 10
    mail:postfix:group_expansion:enable_group_expansion = no
    mail:postfix:virus_notify_recipients = no
    mail:postfix:luser_relay_enabled = no
    mail:postfix:mydomain = "XXXXXXX.local"
    mail:postfix:mydestination:_array_index:0 = "localhost"
    mail:postfix:virus_notify_admin_email = "[email protected]"
    mail:postfix:enable_virtual_domains = yes
    mail:postfix:spam_notify_admin = no
    mail:postfix:required_hits = 6
    mail:postfix:add_whitelist_host = _empty_array
    mail:postfix:always_bcc_enabled = no
    mail:postfix:enable_var_mail = no
    mail:postfix:junk_mail_userid = "junkmail"
    mail:postfix:smtpd_tls_key_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.key.pem"
    mail:postfix:enable_smtp = yes
    mail:postfix:relayhost = "smtp://smtp.gmail.com:587"
    mail:postfix:not_junk_mail_userid = "notjunkmail"
    mail:postfix:mynetworks_enabled = yes
    mail:postfix:spam_ok_languages = "en fr de ja sw ta"
    mail:postfix:virtual_domains:_array_index:0 = "imap.gmail.com"
    mail:postfix:rbl_override_enabled = no
    mail:postfix:log_rolling_days = 1
    mail:postfix:enable_smtp_in = yes
    mail:postfix:tls_server_options = "use"
    mail:postfix:spam_action = "deliver"
    mail:postfix:log_rolling_days_enabled = yes
    mail:postfix:spam_log_level = "warn"
    mail:postfix:smtp_uce_controlls = 1
    mail:postfix:relayhost_enabled = yes
    mail:postfix:virus_action = "delete"
    mail:postfix:virus_db_update_days = 12
    mail:postfix:virus_notify_admin = no
    mail:postfix:domain_whitelist = _empty_array
    mail:postfix:enable_smtp_out = yes
    mail:postfix:text_only_attachments = yes
    mail:postfix:reject_unknown_client_enabled = no
    mail:postfix:log_level = "warn"
    mail:postfix:myhostname = "XXXXXXX.local"
    mail:global:auto_auth = yes
    mail:global:service_data_path = "/Library/Server/Mail"
    mail:imap:imap_auth_cram_md5 = yes
    mail:imap:srvtab = "/etc/srvtab"
    mail:imap:imap_auth_clear = yes
    mail:imap:loginuseacl = no
    mail:imap:popexpiretime = 0
    mail:imap:notifysocket = "/var/imap/socket/notify"
    mail:imap:timeout = 30
    mail:imap:max_imap_connections = 1000
    mail:imap:sieve_maxscripts = 5
    mail:imap:logtimestamps = no
    mail:imap:quota_enforce_restrictions = no
    mail:imap:tls_imap_key_file = ""
    mail:imap:mupdate_authname = ""
    mail:imap:newsprefix = ""
    mail:imap:proxyservers = _empty_array
    mail:imap:junk_mail_userid = ""
    mail:imap:singleinstancestore = yes
    mail:imap:mupdate_password = ""
    mail:imap:imap_auth_digest_md5 = yes
    mail:imap:tls_cert_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.cert.pem"
    mail:imap:lmtp_admins = _empty_array
    mail:imap:poptimeout = 10
    mail:imap:postuser = ""
    mail:imap:imap_auth_plain = yes
    mail:imap:quota_custom_error = _empty_dictionary
    mail:imap:tls_imap_cert_file = ""
    mail:imap:aps_topic = "com.apple.mail.XServer.e8cc7328-2fe9-4b6f-aae5-b6f26f9287b3"
    mail:imap:sieve_proxyservers = _empty_array
    mail:imap:request_enable_webmail = no
    mail:imap:lmtp_luser_relay_enabled = no
    mail:imap:unixhierarchysep = no
    mail:imap:urlauth_hostport = ""
    mail:imap:imap_auth_gssapi = no
    mail:imap:partition-default = "/Library/Server/Mail/Data/mail"
    mail:imap:allowanonymouslogin = no
    mail:imap:quota_custom_warning_message_path = ""
    mail:imap:imapidlepoll = 60
    mail:imap:quota_custom_error_message_path = ""
    mail:imap:enable_pop = yes
    mail:imap:tls_session_timeout = 1440
    mail:imap:mupdate_server = ""
    mail:imap:mupdate_realm = ""
    mail:imap:auth_gssapi_hostname = ""
    mail:imap:enable_sieve = yes
    mail:imap:lmtpsocket = "/var/imap/socket/lmtp"
    mail:imap:enable_quota_warnings = no
    mail:imap:mupdate_port = ""
    mail:imap:postmaster = "postmaster"
    mail:imap:pop_auth_gssapi = no
    mail:imap:pop_auth_apop = yes
    mail:imap:deleteright = "c"
    mail:imap:proxyd_allow_status_referral = no
    mail:imap:sharedprefix = "Shared Folders"
    mail:imap:sasl_auto_transition = no
    mail:imap:tls_ca_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.chain.pem"
    mail:imap:sasl_minimum_layer = 0
    mail:imap:sievedir = ""
    mail:imap:debug_command = ""
    mail:imap:duplicatesuppression = yes
    mail:imap:tls_lmtp_key_file = ""
    mail:imap:servername = ""
    mail:imap:quota_full_tempfail = yes
    mail:imap:partitions = _empty_array
    mail:imap:tls_imap_require_cert = no
    mail:imap:sieve_admins = _empty_array
    mail:imap:global_quota = 0
    mail:imap:mupdate_retry_delay = 20
    mail:imap:not_junk_mail_userid = ""
    mail:imap:quota_custom_warning = _empty_dictionary
    mail:imap:enable_imap = yes
    mail:imap:popminpoll = 0
    mail:imap:tls_pop3_key_file = ""
    mail:imap:sendmail = "/usr/lib/sendmail"
    mail:imap:tls_lmtp_cert_file = ""
    mail:imap:tls_require_cert = no
    mail:imap:notification_server_enabled = yes
    mail:imap:tls_sieve_require_cert = no
    mail:imap:defaultpartition = "default"
    mail:imap:pop_auth_clear = yes
    mail:imap:allowallsubscribe = no
    mail:imap:sasl_pwcheck_method = "auxprop"
    mail:imap:sieve_maxscriptsize = 32
    mail:imap:tls_sieve_key_file = ""
    mail:imap:tls_ca_path = ""
    mail:imap:defaultacl = "anyone lrs"
    mail:imap:reject8bit = no
    mail:imap:tls_key_file = "/etc/certificates/XXXXXXX.local.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.key.pem"
    mail:imap:tls_pop3_require_cert = no
    mail:imap:sasl_maximum_layer = 256
    mail:imap:autocreatequota = 0
    mail:imap:tls_sieve_cert_file = ""
    mail:imap:userprefix = "Other Users"
    mail:imap:mupdate_admins = _empty_array
    mail:imap:postmaster_address = "[email protected]"
    mail:imap:mupdate_username = ""
    mail:imap:quota_warn_frequency_days = 0
    mail:imap:tls_pop3_cert_file = ""
    mail:imap:aps_topic_enabled = yes
    mail:imap:quotawarn = 80
    mail:imap:plaintextloginpause = 0
    mail:imap:enforce_quotas = no
    mail:imap:tls_server_options = "require"
    mail:imap:allowplaintext = yes
    mail:imap:loginrealms = _empty_array
    mail:imap:lmtp_luser_relay = ""
    mail:imap:imapidresponse = yes
    mail:imap:tls_cipher_list:_array_index:0 = "DEFAULT"
    mail:imap:imap_auth_login = yes
    mail:imap:admins = _empty_array
    mail:imap:altnamespace = no
    mail:imap:sieveusehomedir = no
    mail:imap:tls_lmtp_require_cert = no
    mail:imap:log_level = "warn"
    mail:imap:umask = "077"
    mail:imap:hashimapspool = no
    mail:imap:imap_proxyservers = _empty_array

  • Setup Command Line Mail

    Several online sites have guides for setting up CLI mail for OS X, but they're all written pre-Snow Leopard (and pre-Leopard from what I can find).
    Some things (like /etc/hostconfig) list as being deprecated. So what's the latest method for setting up mail native to the CLI? I've always had my machines setup to do things behind the scenes and then communicate with me via email, but so far this has eluded me in Snow Leopard.
    Thanks for the help.

    I am trying to set up my email view so that I have FROM, SUBJECT, DATE, ATTACHMENTS. but i can't figure out how to add a subject any thoughts?

  • What does the Archive command do in Mail.app?

    Can someone explain the use of the "Archive" command in Mail>Mailbox>Archive (CMD+'A'). I see the Archive Folder in my IMAP list of items in Mailboxes and I thought to use this folder and the Archive command to store old mail so as to keep my Inbox clear. However I have run into trouble with this and somehow the folders are now badly out of sync. I now get this when trying to move/add messages to the Archive folder.
    Note that the command on the server says "COPY" not move. I think that this is a key to the problem.
    Questions:
    Can I do this instead on the Server Side?
    How will Mail sync with this folder?
    Can I use other folders to copy even older messages to?
    Where can I find advice about managing server-side messages and Mail?

    Alberto Ravasio wrote:
    I didn't mean to use Archive on the local folder. I did mean move from server side to your local computer. Dragging a message is equivalent to move it.
    FWIW, Alberto,  in playing around with the server side, it seems like the best, most immediate way to make changes to folders there is on the web portal for the server.
    I made the changes to the folders because my IMAP server imposes a 25,000 message limit to each server-side mailbox 'folder'. I finally got this from my Server provider's help desk (GoDaddy). So I set up and MOVED the email messages from the ARCHIVE folder to these longer term folders. Call me weird but I want to be able to access these folders from any device, if needed, which is the reason to have them on the server in the first place. Therefore (until I ditch them) the Sent + Inbox folders are 'archived' to these folders by year.
    The current year's messages are 'archived' to the ARCHIVE folder, also found on the server. There is NO LOCAL Archive folder for messages in Mail.
    The problem is that Mail.app version 7.3 (build 1878.6) is VERY BAD at dealing with (these or any) folders resident on the server. Other versions of Mail may differ in their responses to server folders and message contents. The problems in this version that I found and identified so far are:
    No sync with server folders.
    Archive command copies but doesn't move messages appropriately from Inbox to Archive using the command "Archive" (Mail>Message>Archive).
    Old archived messages still stay in Inbox and do not sync with the condition of the Inbox on the IMAP server.
    If you actually compared your messages and can confirm or provide a workaround to these issues in the same version  of Mail, please let me know. Thanks,
    Henry

  • I have several imap accounts and want to click one button to empty all junk mail at once. How can I do this?

    I currently run Apple Mail on Lion with several IMAP acocunts... I know that there is a right-click option to remove "all deleted" messages  but what If I wanted to do the same for all messages marked at junk in all accounts.  It's really a pain to have to click on each account, select all the junk in the junk folder, press delete over and over.. and then right-click and select "Erase Deleted Items"    Why the heck can't they just have "Erase All Spam Items" also... ??   Or how about "Erase all SPAM and DELETED ITEMS from ALL accounts"   ????

    I found the solution and here's how to correct things:
    Apple Mail
    Mail has a feature, accessible from the Mailbox Behaviors (or Special Mailboxes) tab of the Accounts preferences, that can automatically delete old spam messages from the Junk mailbox. You can use this feature if you tell SpamSieve to put spam messages in the Junk mailbox instead of the Spam mailbox.
    (Note: If you do this, be careful not to use the Junk and Not Junk buttons that will appear in Mail when the Junk mailbox is active; you should always use the SpamSieve - Train as Good and SpamSieve - Train as Spam commands instead. You can use the Customize Toolbar… command in Mail’s View menu to remove the Junk button from the toolbar. Also, if you select a message that SpamSieve has classified as spam, Mail will show a banner saying that you marked it as junk. Ignore this.)
    Make sure that Mail knows which mailbox is your Junk mailbox by selecting it and choosing Mailbox ‣ Use This Mailbox For ‣ Junk.
    To tell SpamSieve to use the Junk mailbox, open Mail’s Preferences window and click on Junk Mail. Make sure that Enable junk mail filtering is checked. Select Move it to the Junk mailbox. If Mail asks whether you want to move all the messages to the Junk mailbox, say No. Next, select Perform custom actions. Then click theAdvanced… button and edit the rule such that the conditions don’t match any messages. For example, use these two conditions:
    Message is addressed to my Full Name
    Message is not addressed to my Full Name
    and set it to If all of the following conditions are met. Click OK to close the sheet. Do not make any further changes to the Junk Mail preferences.
    Go to the Rules section of Mail’s preferences and change the SpamSieve rule to move the messages to the Junk mailbox instead of the Spam mailbox. Finally, chooseSpamSieve - Change Settings from Mail’s Message menu and, when prompted, say that the name of your spam mailbox is Junk.

  • User can't receive mail; sending ok

    Hi, have read almost all mail topics, tried a lot of information, but nothing changed.
    user has enabled mail in workgroup manager (both pop and imap) and in server admin(settings/access/services/mail) and server preferences/users/services
    don't know what else to do.
    some part of log in server admin
    Feb 27 13:36:54 webbox pop3[3078]: login: webbox.local [fe80::20a:95ff:fea7:db06%en0] webadmin APOP User logged in
    Feb 27 13:37:04 webbox lmtpunix[3757]: AOD: user opts: get attributes for user: [email protected] failed with error: -14479
    Feb 27 13:37:04 webbox lmtpunix[3757]: warning: unable to post message for user: [email protected], mail is not enabled for this user
    Feb 27 13:37:08 webbox pop3[3078]: login: webbox.local [fe80::20a:95ff:fea7:db06%en0] webadmin APOP User logged in
    The other user gets mail error after sending to [email protected]
    The mail system
    <[email protected]>: host mail.something.lv[/var/imap/socket/lmtp] said: 550-Mailbox
    unknown. Either there is no mailbox associated with this 550-name or you
    do not have authorization to see it. 550 5.1.1 User unknown (in reply to
    RCPT TO command)
    using mail.app, i can send mail from [email protected] to other people ([email protected] for example)

    got it working by changing account name from webadmin to [email protected]
    in server preferences/users
    (virtual hosting form mail was already enabled all the time in server admin)

  • How to disable detection of duplicate messages in Lion Mail?

    When Mail in Lion detects duplicate messages in a mailbox, it groups them together and shows the link in the header "x Duplicates", where x is the number of duplicate messages found. When that link is clicked the duplicate messages show in the mailbox separately. But I'd like Mail to stop grouping them together to begin with.
    Running OS X 10.7.3 and Mail 5.1

    To disable automatic grouping of duplicate messages, quit Mail then run this command in Terminal:
         defaults write com.apple.mail AlwaysShowDuplicates -bool true
    To revert to the default setting, run this command:
         defaults write com.apple.mail AlwaysShowDuplicates -bool false
    or simply delete the setting altogether with this command:
         defaults delete com.apple.mail AlwaysShowDuplicates
    If you want to see how Mail behaves with this setting enabled, but without modifying your preference file, start Mail from Terminal with this command:
         /Applications/Mail.app/Contents/MacOS/Mail -AlwaysShowDuplicates YES
    I learned of Mail's modifiability (is that a word?) from here:
         http://hints.macworld.com/article.php?story=2004101603285984
    and here:
         http://erikslab.com/2007/07/16/os-x-mailapp-logging/
    I found the AlwaysShowDuplicates option by looking for interesting words similar to 'duplicates' in the Mail executable like this:
              strings /Applications/Mail.app/Contents/MacOS/Mail | grep -i duplicat

  • View Duplicate Messages in Apple Mail 7.3 in Mavericks

    Hello,
    Up till at least OS X Lion, if there were duplicate email messages, there would be a blue link in the header of the message in Apple Mail that you could click on to reveal the duplicate messages.
    Im currently running Mavericks and Apple Mail 7.3.
    By default, there no longer seems to be any indication that there are duplicate messages??  Is that correct???
    I have found the Terminal commands that will allow me to "ungroup" duplicate messages:
    To disable automatic grouping of duplicate messages, quit Mail then run this command in Terminal:
              defaults write com.apple.mail AlwaysShowDuplicates -bool true
    To revert to the default setting, run this command:
         defaults write com.apple.mail AlwaysShowDuplicates -bool false
    or simply delete the setting altogether with this command:
              defaults delete com.apple.mail AlwaysShowDuplicates
    If you want to see how Mail behaves with this setting enabled, but without modifying your preference file, start Mail from Terminal with this command:
              /Applications/Mail.app/Contents/MacOS/Mail -AlwaysShowDuplicates YES
    These seem to work fine as far as listing the duplicate messages in the message list.
    HOWEVER . . .
    What I am wondering is . .
    Is there no way to leave the duplicates "grouped" so there is only single entry in the message list BUT have the link in the header that indicates that there are duplicates and allow you to click on that link to reveal the duplicates in the message list???    I find having the link in the header easier to work with rather than having ALL of the duplicates ungrouped in the message list.
    ALSO - for what it's worth:
    I also tried setting the "Show Header Detail" option in Mail Preferences to "Custom" which includes an entry called "Duplicates" in the list of times displayed in the custom header but I still do not get any indication (that I can see) that there are duplicate messages . . .
    Any ideas or experience with this????
    John

    https://discussions.apple.com/thread/4045156
    http://support.apple.com/kb/HT4863
    http://support.apple.com/kb/TS3276
    http://support.apple.com/kb/PH8200
    Maybe some of these might help,  hope. I had as imilar issue, I deleted my mail and recreated it.

  • : Weblogic and javax.mail

    Even I was facing the same problem(Provider rfc )as Jon has, solved it
    thanks to Phil.. set the mail.jar ahead of weblogic.jar.
    But now am getting a different error...
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
    [email protected]
    at javax.mail.Transport.send0(Transport.java:219)
    at javax.mail.Transport.send(Transport.java:81)
    at email.Email.send(Email.java:98)
    at jsp_servlet._email._jspService(_email.java:88)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :208)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:1127)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :1529)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Any thoughts!!
    Thanks!
    hariharan
    "Phil Magill" <[email protected]> wrote in message
    news:<[email protected]>...
    Download the JavaMail Api from sun and add the mail.jar file as the first
    entry on your classpath as these will be call before weblogics internal
    version. There are two files missing from Weblogic which resolve the
    providors.
    Cheers
    Phil
    "Dimitri Rakitine" <[email protected]> wrote in message
    news:[email protected]..
    Install service pack 6
    Jon Crater <[email protected]> wrote:
    I'm having problems sending JavaMail through Weblogic. When I call my
    JavaMail wrapper class from the command line, mail gets sent fine, butwhen
    I try to call them from a servlet in Weblogic, I get a MessagingException:
    "No provider for Address type rfc822"
    Any ideas?Dimitri

    Hi,
    Line: "550 5.7.1 Unable to relay for [email protected]"
    seems to be message from your SMTP server. Try different recipient or
    different SMTP server.
    t.Tero
    hari wrote:
    Even I was facing the same problem(Provider rfc )as Jon has, solved it
    thanks to Phil.. set the mail.jar ahead of weblogic.jar.
    But now am getting a different error...
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
    [email protected]
    at javax.mail.Transport.send0(Transport.java:219)
    at javax.mail.Transport.send(Transport.java:81)
    at email.Email.send(Email.java:98)
    at jsp_servlet._email._jspService(_email.java:88)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :208)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:1127)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :1529)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Any thoughts!!
    Thanks!
    hariharan
    "Phil Magill" <[email protected]> wrote in message
    news:<[email protected]>...
    Download the JavaMail Api from sun and add the mail.jar file as the first
    entry on your classpath as these will be call before weblogics internal
    version. There are two files missing from Weblogic which resolve the
    providors.
    Cheers
    Phil
    "Dimitri Rakitine" <[email protected]> wrote in message
    news:[email protected]...
    Install service pack 6
    Jon Crater <[email protected]> wrote:
    I'm having problems sending JavaMail through Weblogic. When I call my
    JavaMail wrapper class from the command line, mail gets sent fine, butwhen
    I try to call them from a servlet in Weblogic, I get a MessagingException:
    "No provider for Address type rfc822"
    Any ideas?Dimitri
    // Tero Soukko
    // iobox - A Terra Mobile Company
    // +358 50 5435259
    // [email protected], [email protected] (m-mail)
    // http://www.iobox.fi, We bring the Internet to your mobile.

  • Poor image quality when sending via Mail?

    This is a new problem for me, yet I'm doing the same thing I always have... Previously, I could "Email" from iPhoto, select an image quality and size, and have it appear correctly as an attachment in a new message, with appropriate quality, with a subject to the effect of "1 Great iPhoto".
    Now, however, regardless of the quality/size level I select, I get a small, pixellated, poor quality image attached with a non-sensical subject like cscp_W149.
    Any idea what's going on?
    Thanks

    you are doing it wrong and selecting the thumbnail
    THere are many correct ways to email photos with iPhoto - none of them involve going into the iPhoto library and mucking around (which can corrupt your library and cause you to lose data)
    The easiest way is to select the photo(s) in iPhoto and click on the mail icon in the toolbar - if it is not there go to the view window and under the shoe in toolbar command check mail
    THere are other ways discussed by Terence Devlin in his post in this thread - http://discussions.apple.com/thread.jspa?threadID=1371662&tstart=15
    LN

  • In Mac OS X Mail some emails are not displaying the correct font size.

    I have set my Mail to display email messages (Inbox) to Courier 13 point (easy to read) and most messages are displayed that way, however I often get emails that are displayed in unreadably small and often colored type. I don't understand why this is ... could someone explain how to fix this? Thanx.

    The email was probably sent from Outlook as RTF or HTML. You can tell Mail to display those as plain text as well by opening Terminal and typing this command (quit Mail first):
    defaults write com.apple.mail PreferPlainText -bool TRUE
    See http://www.hawkwings.net/2005/09/27/viewing-html-messages-in-apple-mail/ for more information.

  • Mail not working for local users

    I have sunOS 5.9 running on sun sparc
    mail is not working on this system even for local users.
    I have tried from the command prompt
    mail username
    Test email
    ^D
    nothing happens after control D, I don't get command prompt.
    I also tried
    mail username
    Test email
    nothing happens
    sendmail daemon is not running on this system but my understanding is that sendmail is not required. I need mail to work only for local users to receive emails for failed cron jobs etc, it is not required for this system to send or receive emails to/from outside world.
    Can someone guide or point in right direction to fix mail functionlality for local users?

    Actually, with recent versions of sendmail, you do need sendmail running to be able to send mail.
    You never used to, but since they made sendmail no longer setuid root, you do.
    Sendmail has essentially been split into 2 daemons a local queue runner with handles sending sent by local users.
    And a listener daemon with listens for remote connections.
    If you want to be able to send mails but not have sendmail listening, you have a couple of options.
    You can either run only the local queue runner and not run the listener. In this case you have to configure the local queue runner to send mails onto a external mail host for processing. This requires editing /etc/mail/submit.cf
    Alternately, you need to configure the local listener to only bind to the localhost port so it can't be contacted from external sources.
    This requires editing sendmail.mc and regenerating a new sendmail.cf
    I tend to favour the latter option as the former limits your ability to do things like local aliases of root: [email protected] to send all your root mail to a central account.
    This is the sendmail.mc you will need
    divert(0)dnl
    VERSIONID(`@(#)main.mc 1.5 (Sun) 08/10/00')
    OSTYPE(`solaris8')dnl
    DOMAIN(`solaris-generic')dnl
    DAEMON_OPTIONS(``Port=smtp, Addr=127.0.0.1, Name=MTA'')dnl
    FEATURE(`no_default_msa')dnl
    MAILER(`local')dnl
    MAILER(`smtp')dnl

Maybe you are looking for

  • Using servlets to read from text file and insert data

    Hi, Can I use a servlet to read from a space delimited text file on the client computer and use that data to insert into a table in my database? I want to make it easy for my users to upload their data without having to have them use SQL*Loader. If s

  • How to Optimize 3D from Mac to 3D HDTV with Apple TV

    I have been trying to stream a 3D movie from my Macbook Pro to my 42" LG 3D 1080 HDTV via Apple TV, and it works, but not perfectly. The details: I have an MP4 formatted 3D movie, which plays with horizontal side-by-side frames. Running the movie in

  • Error while deplye logon par file in NWDS

    Hello Everybody, Here I am using EP 7 and SP 14. I have to change my Portal Logon PAR file as I have to add some hyperlinks in my par file. Now problem is , after importing par file in NWDS i made some changes.Then at the time of exporting file, it a

  • Ive lost iphotots and iweb after hard drive failed help

    Hi my hard drive failed yesterday and I took it to the apple store who confirmed it had failed.  They advised I should purchase a new one, provided me the specs and fit it myself.  I've now clearly done that because I'm writing this However I've relo

  • Why does my phone not vibrate most of the time?

    My phone rarely vibrates when I get a notification, and in my settings, it shows that the vibration is on.