Reputation: 23
i make a mail function and when i upload it on the server the mail function is not working how can i resolve this problem . i think i get erro due to
smtpMailServer:'localhost',
and mailHandlerURL:'bin/MailHandler.php', which is correctly in working condition there is no error in code where should i change localhost to ?
ownerEmail:'[email protected]',
stripHTML:true,
smtpMailServer:'localhost',
targets:'input,textarea',
Upvotes: 0
Views: 45
Reputation: 89
you have to use SMTP server for mail transfer from the server if you use localhost then its not gives any error but mail is not send.
example : "smtp.user.co"
Upvotes: 1