Jump to content

Sending mails show mail code instead of HTML mail


imandreas
 Share

Recommended Posts

Hi,

I'm stucked while using the mail sending, also the plugin WireMailSmtp is installed.

 

$m = wireMail();
$m->to('test@example.com')
	->header('bcc', 'asdf@example.com')
	//->from()
	->subject( "HMTL | ")
	->bodyHTML("DAs ist ein TÄÖÜ")
	->send();

is creating the mail attached.

I have no clue, but I also do not want to use phpmailer

Any help is appreciated!

2024-10-10 23_12_16-Inbox -  - eM Client.png

Link to comment
Share on other sites

solved the issue:

Unfortunately did redfine some values in the config for:

$config->wiremailsmtp = array(
..
	"extra_headers"            => array("Organization" => "My Org", "X-Header" => "")
)

So removing them and keeping only the necessary for SMTP solved the issue

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...