Developer forum

Forum » Development » FormMailer - change SMTP server

FormMailer - change SMTP server

Diogo Lino
Reply
Hello,

Using the script in Admin/Public/FormMailer.aspx we can send emails using the requests described on the documentation.txt file.

My question is: can we change the SMTP server used by this script, with any adicional request variable?

And is this script already using the configuration of GlobalSettings (System/MailServer/Server) or is using the aspNetEmail.dll?

I pretend to use any other server, like the one in GlobalSettings.

Thanks,
Diogo

Replies

 
Morten Bengtson
Reply
Hi Diogo,

FormMailer makes use of the SMTP server that is registered in GlobalSettings.

You cannot change the SMTP server from the calling script, but you can specify sender e-mail (FM_FromEmail) and name (FM_FromEmail).

Do you need to use a different SMTP server?

/Morten
 
Diogo Lino
Reply
I was trying to use the FormMailer and also be able to change the SMTP server.

Ok, I can change the server in the GlobalSettings. Is there any other way to send emails, with a configurable SMTP server or even with attachments?

Thanks,
Diogo

 

You must be logged in to post in the forum