Tag Info

Hot answers tagged

6

I have done a simple thing. Setup a IMAP/POP3 mail server Send the mail to server Retrieve the mail from the server using code. (Java Mail API for example) Do further actions. I don't know about any industry standard. But this works for me.


2

Finally figured it out, with the exception of reportitems such as Undeliverables. Most of the current code is from snippets that I put together to make it work. public void readOutlookTest() { Microsoft.Office.Interop.Outlook.Application app = null; Microsoft.Office.Interop.Outlook._NameSpace ns = null; ...


1

With the limited information available related to scenario, following are list of few other test cases that can be validated - What If: User sends an email for unsubscription but user is not a registered user. User subscribes and unsubscribes immediately Same unsubscription requests come multiple times Same unsubscription requests come at the same time ...


1

Disclaimer - I work for the company that made this. You might find that a hosted service such as Clickity is helpful for this. You can of course set up something like this yourself , but the benefit of someone else doing the hard work is obvious.


1

Are you trying to test the actual email verification process itself, or is the verification just a necessary step to enable further testing of other features? If the latter, you might consider it cheaper to provide a test-specific(*) method to simply set an email address as 'verified' and leave the testing of email verification itself to your manual ...


1

As best as I can tell, you have two problems: you want to verify that the email is sent but you don't want to depend on an existing email provider; and you want to test what happens when an email's embedded link is clicked. For the first problem, I would probably configure a test mode in the server in which it would write files to the file system or to a ...


1

You could use a test email account and access it using an IMAP/POP client? What I do in my Django apps is I set the email backend to a file based one for testing. Emails are then not sent to the addresses but are stored in individual log files. I can then test the content of these files. There are two similar but different scenarios here. One is testing ...


1

I think this is related to this question which suggests a SMTP pretend server: Testing email generation but I suspect this would need to be extended to 'know' about certain emails and be able to respond to doesnt@exist.com in the correct way.



Only top voted, non community-wiki answers of a minimum length are eligible