Creating and sending an Outlook meeting request in a .NET/MVC app - smtp

I am having some difficulty sending an meeting request email using SMTP in my asp.net MVC app. I can send an email no problem, but I can't seem to get it to display as a meeting request.
I have been trying out the solutions posted in other threads but most of them are years old and I can't seem to get them to work.
Any help would be greatly appreciated.

Related

E-mail templates with Json

Working on a project for my employer. They are searching for a solution to connect JSON to a email template.
For now, I look for a solution where the system who has the JSON, loads the JSON script on a server. Then, we connect that server with a marketing automation system, for example Marketo. We like to create an email template which loads the JSON.
The developer we found, says it is not possible and it will not work in gmail, outlook or any other client. For what I know, it is possible to create a email template with JSON right? Just to be sure, because when it is possible, our problem is not the system, but the developer.
Like to hear your thoughts on this subject. Suggestions are welcome.
So, this can be done, but you're going to need to do some custom development.
Marketo's API includes a request campaign endpoint for triggering Smart Campaigns, including those which send emails. As part of the request campaign payload, you can send {{my.token}} values for the campaign.
If you can set up some middleware between your JSON output that renders the HTML for your email, you can push that rendered HTML as a token in the campaign request, allowing for on-demand email creation based on your JSON content.
There are two caveats with this approach:
You will have to dynamically send the email using Request Campaign. That means if you need to send unique content to multiple folks, you'll be using one API call per email.
Due to the nature of Request Campaign triggers, you will not be able to batch and send using Marketo's controls; however, this should be straightforward to set up on the API side.
You can build an email using dynamic data, e.g. from an API that sends JSON.
However, you cannot send an email that calls dynamic data. The final email that gets sent must be static. That may be what your developer is getting at. Email software will strip out scripts.

Email notification when user visit website

I have a legacy website that has been hosted n running fine
. Now I want to send email notification with date and time, when user visit that site. I don't have the source code. Is it possible to send email without actually needing the source code. Any help would be appreciated. If u can show me the direction, u r a life saver. Thank you for your time.
Do you know about Google Analytics? It wont send you email notification but it tracks and reports your website traffic. It also has a real time reporting API enables you to request real time data — for example, real time activity on your website.
visit: https://www.google.com/analytics/
It's very easy to setup.

Trouble coding for receiving and parsing MMS on Android?

I am trying to receive MMS through my client's messaging app that's in development. One major issue that I am facing is that I am unable to test in India as service providers here are using legacy system of sending MMS. What I mean is while using default messaging app, when I send MMS from one phone to another, I don't receive the message itself, instead I get the link to portal of my service provider, where I have to login with my username and password to see the attachment as well as the text message. Therefore, I am unable to test MMS receiving and the parsing of received binary data on my phone. So, I have to ask if anyone else who has worked on a messaging app before, could provide some guidance on the topic.

malformed links send by swiftmail

Good morning,
I just finished the implementation of swiftmailer combined with Twig templates. I have sent several mails now and I encountered a strange habit.
For example:
Example
Sends me a link in the following format:
x-webdoc://AAAAAAAA-BBBB-2222-CC33-DDDDDD444444/example.com/
to my apple mail account. But when i change the value between the < a >-Tags to this
Example.com
I can open the link without any Problem. I can't understand that behaviour.
Can anyone explain this to me? Couldn't test sending mails to gmail or any other provider, since my dev environment can't yet sent mails out of it.
I hope you can help me.
Regards

Retrieve SMTP response of a mail

Is it possible to retrieve the SMTP response of a mail. For example, I am sending a mail to non existing email id. Surely our server will send us a mailer daemon failure mail to our mail id. I need to capture that failure mail.
How its possible? please explain me. Some time we may enter more than one non existing email id, so i have to retrieve all the failure mail alone for every corresponding emails
Please guide me!
Thanks in advance,
Praveen J
I think I understood your question correctly now. As I understand, you are writing an application to send mail. And in your application, whenever you send a mail, you also want verify that if mail was delivered and also if it was not delivered then you want to get hold of the failure message in your application. Is that how you mean?
Well, if that is how you mean, then I think it is impossible to track the mail status with your apllication code. For instance if you are using java sendMail in your apllication you can only ensure that the send happened from your code successfully(without any send exceptions like java.net.SocketException or javax.mail.MessagingException). But, you can never ensure if the mail really reached the recepient. i.e. you can never track in your application if the mail was rejected due to wrong recepient address or any other error like illegal attachment at receipient mail server or errors like blocked sender id etc.
That is because any such error condition will be communicated by the receipient mail server to the sending mail server the information of which is present in the sent mail's header.
Does that answer your question? (Or did I understand your question correctly? ;-))
I am not sure if I am getting your question right. If you send an email to any non existent address say xxx#gmail.com from your address yyy#yourhost.com, the mail server at gmail.com replies to the mail server at yourhost.com with failure message and reason, with your delivery address and you receive the fialure mail automatically. you don't have to do anything extra in this.
If you are talking about seeing mail headers, then it depends on which client you are using. For instace, if you are using MS outlook, you can right-click on the message and click options and then see internet headers section to get mail headers. If you are using some web based mail then i am sure there will some option to view detailed mail headers.
The bounced messages are going to return to a mailbox. You should be able to configure that mailbox by properly setting the headers on the messages you send out. You would then need to monitor that mailbox, or have that mailbox deliver the messages to your program.
I would suggest you consider using VERP for all messages you send out. It will make it much easier for you to identify which email address a particular bounce belongs too. To do this you would need control of your mail server though. It takes some work configuring things.
To answer the question with more detail you need to tell us how your are sending messages, what type of mail server you are running, and how much control you have over the mail server.
On Unix, you can use "procmail" for this. Procmail is a service which can intercept your mails and process them following rules.
If you can access your mail my IMAP, I suggest to look at the Python module imaplib.