Windows phone 8 - Sending Mail in background - windows-phone-8

Is it possible to send mail in background that is without prompting any user action if user has some email account sync in phone?? I believe EmailComposeTask only shows up a screen that requires user action to send the mail. What I need is to send the mail in background without any overhead to user. Thanx in advance.

You can't send an email from the user's email account without his approval.
What you can do is use your own server and php script which you can then call from the app to send the email for you, like it's done for error reporting services.

Related

Setting up mail smtp relay service to send and receive mail

I have very limited knowledge about SMTP and IMAP/POP. SMTP --> sending message, IMAP--> Mainly for receiving messages.
I have a woocommerce website and i already did setup my email system to use SMTP relay using zoho. I believe zoho also provide mailbox services since I am able to communicate with my customer(both two and fro) using its email service. They have their app and i can receive and send mail from that app. Obviously, I have set up all the records including MX to send/receive the email to my zoho inbox.
No i want to move my email services to postmark or like sendinblue. All i can see the setting related to sending the mail but how/where will I receive the mail when user reply on that??
On the postmark website it says:
Since Postmark is not a mailbox provider there's not the ability to generate mailboxes for receiving email using IMAP or POP3.
Question 1) Does the SMTP relay server is actually a different physical machine from IMAP server for sending/receiving messages. I guess both are different but why are these companies not providing solutions like zoho. Pardon me if I did not understand the use case.
Question 2) What to do in this case ???. My case is simple. I send notifications to customers regarding their orders. If they want they can reply or enquire. I receive the email on my phone and I can reply on the same mail-chain like we have on Gmail.
Question 3)
Do i need to buy some another service along with these to receive and reply back on the email ??? Like from godaddy or somewhere else.

code to force email fail to be delivered

I need a code example which can be added in the html panel of the email body. the code must force the delivery of the email to fail, and my microsoft server mail server shall send me a delivery fail email notification.
Or i can also use a code which send a feed with the mail address i just send to my inbox.
Does anybody knows what code i can put in the email to achieve that?
To my knowledge, there is no method of doing this. It is up to the email server that you have chosen to send the email - if they don't send it, they may not tell you. No code will change this.

Java Mail API host name

I have implemented IMAP server mail box and one valid user account on that mail box for receiving email and reading mail.
Now I want to send mail through that user account. After goggling for some time , I found that we can't send mail using IMAP server.
So now the problem is I want to send mail using that mail account only. Is there any way?

smtp mail settings not working in moodle 2.6

I am using moodle2.6.2 with essential theme.
I have created the smtp settings with gmail account, it was working fine.
If i changed my webmail account ,it shows the error like this,
"Sender address rejected: not owned by user rathish#mywebdomain.com".
Anybody can help me ?
I wouldn't recommend using Gmail or Google apps for sending emails from Moodle.
Gmail has a daily limit for sending emails and it won't allow sending emails from aliases - the email account has to exist.
http://docs.moodle.org/26/en/Email_setup_gmail
Check with your web host, they will probably have smtp - but also check their email sending limits too - I've had a site suspended because because too many emails going out.

How to send email in exchange online (EWS1.1) with shared mail box

I am trying to send an email using Exchange WebServices 1.1 using a shared mail box. I am getting following error.
"This account is locked. Visit https://autodiscover-s.outlook.com/owa/mycompany.com to unlock it."
But if I browse this url, it takes me to admin mail box, then I can change it to visit the shared mail box. Even I can send an email using this mail box from outlook. (All these are already set following a MS article).
My Question is how to send email using these account, as I don't want to make the email personalised and rather keep it from a distribution group/shared mail box.
// Connect to Exchange Web Services as user1 at contoso.com.
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010);
service.Credentials = new WebCredentials(userName, password);
service.AutodiscoverUrl(userName,
delegate
{
return true;
});
I just want the email should show received from "shared" mail box. How can I achieve this?
Edit :
If I use my personal account all these works fine, I can read emails, send emails and delete emails. But if I changed the credentials to shared mail box, it says the account is locked.
I have administrative and "send as" rights on this shared mail box. At the same time I can send email using outlook as well.
Sanjay