I like the MS Enterprise Library Logging Application Block because it lets me easily define a few logging settings and then log an error in a line or so of code from my application.
However, I really want to be able to send email using my SMTP server's pickup folder (as opposed to specifying the servername and port). Just using the plai...
I'm developing a lightweight Gmail client for mobile phones. It access Gmail by IMAP. Then I want to send a draft from the Drafts folder, but it has some attachments and I can't download all of them to send it by SMTP.
Moving/copying it to "Sent Mail" doesn't send it, just moves it to that folder.
How can I send a Draft directly withou...
How can I test SMTP is up and running via C# without sending a message.
I could of course try:
try{
// send email to "[email protected]"
}
catch
{
// log "smtp is down"
}
There must be a more tidy way to do this.
...
Hello,
I'm working on an order entry application targeted to windows mobile devices.
I need to be able to send and receive emails from within the application, but without using pocket outlook (this is a customer requirement).
I see that the .net mail classes are not available for the compact framework. So I need to look elsewhere.
I ...
Hi
I'm using AuthSMTP which is a paid SMTP Relay service. They only support a finite amount of "from" email addresses, which must be proper accounts.
This is my first site build and I'm trying to get my head around how to implement email.
When a user registers with the site or forgets their password, I have an 'info' email account whi...
Hi all - help out a noob with a simple web development question??
I want to create a Contact-Me form on my website, but I'd like it to not go through the email client that's installed on the user's machine, in case they're at a public terminal. I don't mind if the email comes from "me" to "me", as long as nobody can use it to spam me! ...
I am trying to use exim4 on debian to relay mail, nothing more. I have a stage mail server and a production mail server (both written custom in python to do weird stuff). I also have all these running on a single linode host.
production mail is on port 2500, stage mail is running on port 2501. I'd like exim to relay mail based on th...
Hello,
I'm building a application that sends a test message to another email, the program executes without errors, but when I check my email there isn't any new email, take a look at my code:
my $smtpserver = 'smtp.vix.terra.com.br';
my $smtpuser = 'nathanpc';
my $fromemail = '[email protected]';
my $smtp = Net::SMTP-> new($sm...
i have an application that uses SMTP to send emails from an yahoo account. it worked fine one week ago, but now i'm getting this error "An existing connection was forcibly closed by the remote host." (the code is written in ffish but i don't think that's relevant since it worked last week without modifications). what should i do to make...
I need to create a Windows service that can listen for SMTP.
When it receives an email I need to process it, and then forward it to my real SMTP server for sending proper.
Can anyone point me at any useful source code, libraries or tutorials on how I can get started doing this?
Seems like all I need is a simple TCP listener and messag...
I used a PHP library to try and use my gmail account to send mails. Just an experiment, to see if I can set it up. After succesfully completing the send() method, I request debug information. This is what was shown to me:
220 mx.google.com ESMTP g9sm901968gvc.25
250 mx.google.com at your service
530 5.7.0 Must issue a STARTTLS command f...
Hi all (before closing based on the title, please read the bottom parragraph),
I'm having some small issues with emails being sent out from the C#/ASP.Net webapp that I'm currently developing.
We don't send emails out on mass, only to a single address, sometimes with a CC address.
The emails we are sending out contain one attached fi...
I'm currently writing an Exchange 2007 Transport Agent to replace some headers in all outgoing mails from a particular sender. I managed to replace the 'From' SMTP header successfully, but rewriting the 'Return-Path' header does not seem to work.
To make this all happen, I have written a custom SmtpReceiveAgent and subscribe to the OnEn...
I am building an SMTP server. I need to find the MX record of any domain name for this from the "to" email address and I am using res_search for this.
for example rcpt to:[email protected]
#define MAXLINE 100
int main()
{
res_init();
char ans[MAXLINE];
res_search("www.yahoo.com",C_IN,T_MX,ans,MAXLINE);
printf("%s",inet_nt...
Possible Duplicate:
Get MX record via C program.
Is there any function in C on linux by which we can query MX record (like gethostbyname).?
...
Why do I need to encode login and password in base64, when using SMTP-AUTH. Here is an example of my SMTP conversation
220 ALAN.CP.com Microsoft ESMTP MAIL Service
ehlo
250 ALAN.CP.com Hello [10.10.1.1] more...
verbs
250 OK
auth login
334 VXNlcm5hbWU6
<base64 encoded password>
334 UGFzc3dvcmQ6
<base64 encoded password>
235 2.7....
I need to send emails DIRECLTY to the recipient's mail-server, bypassing any MTA's on my end. I know there are some great reasons to use MTAs like sendmail, etc, so I don't need advice in that direction. I would like to write code that directly connects to the recipient's mailservers.
So, am I missing anything here?
Suppose the desti...
I want to use telnet to google mail server on linux. I want to send mail using SMTP. But it is not able to do so. I am using this command.
telnet alt4.gmail-smtp-in.l.google.com 25
But it says
Trying 209.85.220.19...
After some time, it gives time out. Does anyone knows how to do it?
...
I am writing a simple SMTP server and client. Server is in two parts receiver-SMTP and Sender SMTP. both will run in two different daemon services. The two modes this can run in is 'remote' and 'local'.
Since i am new to network programming I am having difficulty in even getting started. Any help in form of text, sample or skeleton code...
I have a constantly-running Java program that needs to send an email whenever it encounters a problem. However it is possible that the mail server it uses could be down at the time it tries to send the email.
What is the best way to ensure that the email will be delivered when the mail server comes back up?
...