Knowledgebase

Home » Item #736

Authentication with Persits ASPEmail

Item: #736
Date: 19 Dec 2003
Applies to
v3
v4
v5

Question

We're using the Persits ASPEmail object to send email. Our SMTP mailserver requires authentication (username and password) to successfully send email.

How can I set this up?

Answer

To do this you'll need to edit the email sending function.

Load up includes/functions.asp and find the line:

Case "persits", "aspemail"
(this is line 525 in CactuShop v5.011). About 15 lines below that you should see this line:
Mail.Send
Above this, put in two new lines:
Mail.Username = "username"
Mail.Password = "password"
Obviously setting username and password to the authentication details.

Can't find the answer you need? Click here to open a support ticket.

« Back