Outlook Switches, Emails being sent to Outbox [closed] - outlook

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 16 days ago.
Improve this question
Im trying to create a desktop shortcut of Outlook that auto-generates an email to a specific department. At the moment, the switches being used are /c ipm.note /m "department email". Once the email is sent, it is being sent to an Outbox. Is there a way to send the email without it timing out and being sent to the Outbox where it waits until Outlook is open to send the email?

Is there a way to send the email without it timing out and being sent to the Outbox where it waits until Outlook is open to send the email?
Nope. You can automate Outlook from any external application (using COM Automation) where you may call the sync objects to synchronize the Outbox folder with the server to deliver the item to recipients. The SyncObject.Start method begins synchronizing a user's folders using the specified Send\Receive group. For example:
Public Sub Sync()
Dim nsp As Outlook.NameSpace
Dim sycs As Outlook.SyncObjects
Dim syc As Outlook.SyncObject
Dim i As Integer
Dim strPrompt As Integer
Set nsp = Application.GetNamespace("MAPI")
Set sycs = nsp.SyncObjects
For i = 1 To sycs.Count
Set syc = sycs.Item(i)
strPrompt = MsgBox( _
"Do you wish to synchronize " & syc.Name &"?", vbYesNo)
If strPrompt = vbYes Then
syc.Start
End If
Next
End Sub

Related

VBScript to send outlook email without asking user to log in

I made VBScript to send Outlook email without prompt user to log in in his or her account. But when I tried to run the script, it prompts me to log in. I don't know is it possible to send it without asking, but any help is nice. Here's my code:
'Create an Outlook object
Dim Outlook
Set Outlook = CreateObject("Outlook.Application")
'Create e new message
Dim Message
Set Message = Outlook.CreateItem(olMailItem)
With Message
.Subject = "subject"
.Body = "body"
'Set destination email address
.Recipients.Add ("test#outlook.com")
'Set sender address If specified.
'Const olOriginator = 0
'If Len(aFrom) > 0 Then .Recipients.Add(aFrom).Type = olOriginator
'Send the message
.Send
End With
I'm sorry, the code is so dirty.
PS: I'm not good with English. Please understand if i wrote something wrong.
Use the Logon method only to log on to a specific profile when Outlook is not already running. This is because only one Outlook process can run at a time, and that Outlook process uses only one profile and supports only one MAPI session. When users start Outlook a second time, that instance of Outlook runs within the same Outlook process, does not create a new process, and uses the same profile.
If Outlook is already running, using this method does not create a new Outlook session or change the current profile to a different one.
You can turn profile prompt off in Control Panel | Mail | Show Profiles.

Does Orange API sms sends messages to Etisalat and Vodafone? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
I tried to send an sms to Orange phone number and it was sent successfully! but when i tried to send to Etisalat or Vodafone number there weren't sent and the bundle decreased by two.
does orange API sms sends sms messages to Etisalat and Vodafone ?
Thank you!
For which country are you referring to?
If it's Egypt, then you would need to send proof of company documents for whitelisting to contact.developer#orange.com to be able to send to other operators.
This is local legislation for Egypt.
Regards,
D
As #Dharmesh said I have been trying so hard but you should send government and registration papers to company developer mail contact.developer#orange.com so that your messages reached outside orange operator.
As they added more detail here :
To send SMS to other operators in Egypt, after the approval of your sender names follow the steps in this document

best approach to implement this email service [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am working on a website in Spring, My website gathers info of jobs positions as well the email to which to send applicant resume to (e.g jobs#microsoft.com)
I want users to be able to send emails thru my website to different jobs positions emails, Sending emails thru the website system will send a designed html email to the job email.
So how would I implement it? Should I find unlimited email hosting and create an account for each user? (does that even exist with combination of spring?)
or is there some other way without asking the user for his email and password (nobody in their right mind will trust that.).
what about spam filters? If I create a new domain and open new email accounts will I be considered as spam?
Almost certainly you'll want a single email account to send the messages, but can use the "reply-to" parameter to have replies go to the user sending the application resume if desired. GMail (or other public mailing service) can be configured for this purpose, see the mailSender object and MailManagerImpl class in my open source project for a working example of using Gmail with Spring’s email support.

Pop alert on sending mail to external domain [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Whenever any user is sending mail to external id there should be a Pop up while sending mail to external email IDs.
You have to make some changes to your Notes Mail template on server and update all user mail databases with the template.
How to add requested functionality to Notes mail template?
Open Notes Mail template in Designer and go to form "Memo". Look here for the event Querysend() or Postsend().
Add your code to Querysend() if you want to "warn" the user that he's going to send an email outside company. You could ask user if he wants to send email anyway. In case of YES leave Querysend() with true in case of NO with false.
Add your code to Postsend() if you just want to notice user about sending an email outside company.
The code itself should look at the fields SendTo, CopyTo and BlindCopyTo and decide if it is an external email address included or not. If yes it shows a prompt box with the help of Prompt or MessageBox.
If you use Querysend() event then you have to write your code in LotusScript because there is already code included. Only in case of Postsend() you are able to use Formula language (#Prompt()) or JavaScript (alert()) alternative.
When your changes work for form "Memo" then you have to put same code in forms "Reply" and "Reply With History" and maybe in some other memo forms in own applications too.

Does an exchange server duplicate email data when a user forward it? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Say we have a user a#domain.com which sends an email to user b#domain.com. Then, user b#domain.com forward the email to c#domain.com and d#domain.com.
Giving that it was the same email, does the exchange server keeps 4 different copies of the email data or it simply points the users to the same email (only with different headers)?
if user b#domain.com adds a simple line (or more, it does not really matter), but keeps the older email data intact, does the exchange server keeps a revision history of that mail and sends only the delta, or it simply builds a whole new email for c#domain.com and d#domain.com?
Giving that it was the same email, does the exchange server keeps 4 different copies of the email data or it simply points the users to the same email (only with different headers)?
Regardless of any of your specific requests, each email sent is a new email (all new header info etc, is all part of an email). If you send 1 email to 30 people (all on the same exchange store) there is only 1 version of the complete email in the system and 30 links to the email for each of the 30 people. Attachments are also stored this way.
if user b#domain.com adds a simple line (or more, it does not really matter), but keeps the older email data intact, does the exchange server keeps a revision history of that mail and sends only the delta, or it simply builds a whole new email for c#domain.com and d#domain.com?
I'm not sure about revision history, but again any email sent is a new email and regardless of exchange stores, is sent in it's entirety. If fordwarded email contains an attachment and the recipient is on the same exchange store, exchange will not duplicate the attachment.
(This question will most likely be moved to http://serverfault.com)

Resources