Jump to content
Macro Express Forums

Email Setting Check


Recommended Posts

This macro subroutine checks the users email settings and updates them as needed. It checks the registry values in ME for email address, user name and SMTP server to make sure they are correct and changes them if not. The user is prompted if this is their name and email address and if not right allows them to correct it.

I use this routine in macros where I use the email system or need the users email address. In general I like to use the registry to keep persistent settings for that workstation and usually define some in the miscellaneous key but in this case we need to adjust the ME email keys so ME can send email properly. In this case you will need to modify the macro for your SMTP server. Just replace the string IP1 with your server's address.

 

Beyond checking to make sure the setting are correct for the email send command I often use these registry values for data entry. For instance I have macros that enter meta data in Acrobat files which include the creator's name. I get this value from this registry value. And obviously anywhere you need the user's email address you can read this registry value to string.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...